Şöyle yaparız
$currentDir = Get-Location # Save for setting back laterSet-Location ......Set-Location $currentDir
$currentDir = Get-Location # Save for setting back laterSet-Location ......Set-Location $currentDir
1. Enter mountvol to list all the volumes. D should look something like -\\?\Volume{b77a3ed1-0651-5gdf-90b1-d1a3672d96e4}\D:\You should remember which one was D for later.2. Enter mountvol D: /p which will unmount D.3. Enter diskpart4. Enter list volume and note volume D's index in the ### column. Let's say it's 1.5. Enter sel vol 1 to select volume D.6. Enter att vol set readonly yo make D read only.7. Enter det vol to see the volume's info and confirm that D is now read only.8. Enter exit to go back to the command prompt.9. Enter mountvol D: \\?\Volume{b77a3ed1-0651-5gdf-90b1-d1a3672d96e4}\ to remount D. Of course, replace the gibberish address from this example with the one you have listed in mountvol.10. reboot.
To remember a folder, you could use the pushd command together with the popd command.To remember a folder :pushdTo return to the remembered folder :popdThese commands use a stack that can remember more than one folder.
> Test-NetConnection -ComputerName 172.18.17.215 -Port 30324ComputerName : 172.18.17.215RemoteAddress : 172.18.17.215RemotePort : 30324InterfaceAlias : OpenVPN TAP-Windows6SourceAddress : 172.31.252.65TcpTestSucceeded : True
if (!(Test-Path -Path $PROFILE)) {New-Item -ItemType File -Path $PROFILE -Force}
notepad $PROFILE
Import-Module PSReadLine Set-PSReadLineOption -PredictionSource History Set-PSReadLineOption -HistoryNoDuplicates Set-PSReadLineOption -Colors @{InlinePrediction = 'DarkGreen' } # Browse history Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward
BCDEdit is a command-line tool for managing Boot Configuration Data (BCD).
BCD files provide a store that is used to describe boot applications and boot application settings.
BCDEdit can be used for a variety of purposes, including creating new stores, modifying existing stores, adding boot menu options, and so on.
bcdedit /set hypervisorlaunchtype auto
Yoksa şu hatayı alırız"Hardware assisted virtualization and data execution protection must be enabled in the BIOS"
Açıklaması şöyleC:\>attrib /dSH C:\$Recycle.BinR C:\Documents and SettingsA SH I C:\hiberfil.sysA SH C:\pagefile.sysC:\PerfLogsR C:\Program FilesR C:\Program Files (x86)H I C:\ProgramDataSH I C:\RecoveryA SH C:\swapfile.sysSH C:\System Volume InformationR C:\UsersC:\Windows
As you can see, the swapfile.sys, a system file has both +S and +H set, and thus it remains hidden unless you have the Hide protected operating system files (Recommended) unchecked in your settings.
The A stands for Archived, and the I for indexed. Type Attrib /? to get a full list of each letter.
In order to make the folder visible, you have to type Attrib -s -h "Old HDD"
Even though you can set the s and h individually, removing the s attribute also requires the h to be removed.
Also, explorer can set attributes on a file, but if you set it on a folder, the changes are usually ignored. With attrib, it just always works.
Kurduğum eklentiler şöylesudo ln -s /path/to/vscode/Code /usr/local/bin/code
sudo apt install openjdk-17-jre-headlessBu sefer Oracle JDK 17 kurmak için şöyle yaptım
sudo add-apt-repository ppa:linuxuprising/java sudo apt update sudo apt install oracle-java17-installerKurulum penceresindeki seçenekleri kabul ettim. Daha sonra JAVA_HOME ortam değişkenini /etc/profile dosyasına ekledim
sudo vi /etc/profile
JAVA_HOME="/usr/lib/jvm/java-17-oracle"
source /etc/profile
$ echo $JAVA_HOME /usr/lib/jvm/java-17-oracle