This is bugging me but I can't remember how to get into a directory in dos or at a command prompt that has spaces in the folder name.
Obviously you use the cd command, however what then for folders with spaces?
This is bugging me but I can't remember how to get into a directory in dos or at a command prompt that has spaces in the folder name.
Obviously you use the cd command, however what then for folders with spaces?
The situation's looking...
.... 8 character, I remember now. Why on earth did I forget that? I'm rusty I tell ya!
Cheers m8
The situation's looking...
To much point and clicking with the newer models.Originally Posted by Big_Al
The situation's looking...
Put the path in quotes, e.g. if at C:\, use cd "Program Files\Microsoft Office"Originally Posted by Bleek
Last edited by nichomach; 15-01-2004 at 05:12 PM.
Yeah, but it works if you want to change to a folder where the first few characters are the same as another folder - check your Program Files folder for the number that start w/MICROS for instance - want to take bets on which one is ~1, ~2 and so forth?Originally Posted by Big_Al
open command prompt, type CD then drag and drop folder into command prompt window
As well as using tab completion and double quotes, you can also use wildcard completion (on W2K and XP):Originally Posted by Bleek
cd doc*
If the expression isn't unique it'll take the first match (alphabetically).
cheers,
dave
Any of you know a website with all known DOS commands?
Type 'help' in the Command Prompt window to get a list of commands then 'help' followed by the command to get specific help.Originally Posted by DeludedGuy
Other than that... try here - http://www.techiwarehouse.com/DOS/XP_DOS_Tutorial.html
cheers,
dave
in windows 2k + you can just type 'cd documents and settings' and it works.. i thinkthe [tab] thing, you can enable in tweakUI or something like that, as its off by default.
dos commands you need:
cd - change directory, ie cd winnt (also cd .. to go up one level, and cd \ to go back to root dir)
dir - list files, ie dir *.txt or, just dir (dir /p to break results into a screen at a time)
ren - rename, ie ren something.txt something.bat
copy - mm dunno, copy *.txt c:\arse for example
md - make directory, ie md temp
rmdir - remove directory, ie rmdir temp (has to be empty)
del - obvious, delete,
deltree - think deletes all files in a directory and sub directories
er prolly missed a few, like xcopy, never knew what the advantage of that is... dunno what else you would need tho
mark
to get tab completion use "cmd" rather than "command". So go 'start' -> run, type 'cmd'.
It is a POOR attempt at tab completion. If you have two files in a dir - not that unrealistic - that have similar names. File1, File2 for example. Type "F" press tab, and it will immediately go to "File1" rather than autocomplete to "File" and display the small list of possibilities so u can complete the filename correctly. This is annoying if you have been spoiled by the linux auto complete.
There are currently 1 users browsing this thread. (0 members and 1 guests)