8
votes
What is %windir%?
Open a command prompt by clicking Start, typing cmd, then Enter. Type echo %windir%, then Enter, and the path should print to the screen. Usually C:\WINDOWS
5
votes
Accepted
Accessing the user folder from a previous Windows installation (content on a read-only image)
I'm answering my own question that I had already written, but hadn't yet posted by the time I came across the answer. There was a ~duplicate (How to gain access to Windows Users folders on a read-only ...
2
votes
Accepted
Linux - How to give full access to home folder and files to a user?
You probably just need (as root): chown -R user.usergroup /home/user.
Be careful, as you will lose the correct ownership, if some files are intentionally owned by another user.
2
votes
VBS Replace characters from filenames of all files in folder and subfolders
You are not using the Subfolder element in your loop.
An alternative recursive solution is below:
Set objFso = CreateObject("Scripting.FileSystemObject")
Browsefolder objFso.GetFolder("C:\Users\user\...
1
vote
Is there a Windows equivalent to ~/.local/bin?
I don't think that there is an exact equivalent to Ubuntu's ~/.local/bin on Windows. However, you can achieve somewhat the same effect by creating a folder for your scripts and executables and adding ...
1
vote
How do I find images based on their numbers in the Excel file?
You can try an approch like the following in powershell
It can certainly be optimized, but I wanted it simple to understand with 2 steps :
- The first one : creation of the target tree according to ...
1
vote
Accepted
Change to user folder from the Command Prompt or PowerShell?
There's nothing like ~ in Windows cmd, but you can use %USERPROFILE% or %HOMEDRIVE%%HOMEPATH% like $HOME in *nix. See
Recognized Environment Variables
Windows Environment Variables
However in ...
1
vote
Change to user folder from the Command Prompt or PowerShell?
The ~ (Tilde) is a built in shortcut that autocompletes to the users 'Home' folder. Normally the home folder will be found under /home/ however it can infact be in almost any location on the system (...
1
vote
SSH keys deleted from home folder after reboot
I think I have found a solution, which consists of the following steps.
Since /home/root is reset each time after the reboot, we need to store id_rsa in a place, for example, in folder /shares/...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
home-folder × 38linux × 8
windows × 7
macos × 6
windows-10 × 4
windows-7 × 3
ubuntu × 3
permissions × 3
command-line × 2
mac × 2
partitioning × 2
windows-8.1 × 2
powershell × 2
linux-mint × 2
path × 2
home-directory × 2
microsoft-excel × 1
windows-8 × 1
ssh × 1
debian × 1
installation × 1
windows-explorer × 1
filesystems × 1
git × 1
sync × 1