The /a and /s are parameters, the / identifies them as such, and cmd.exe can distinguish them so you can use a space, or not. dir /a /s, dir/a/s or dir /a/s will all work. Your cmd prompt if you did as i said should be
C:\Documents & Settings\Frank\Desktop
If you then enter dir/a/s and get path not found error that is passingly strange.. cos you are already in the directory; that is the path being used by the dir command. Intresting.
Ah, I know what yyou are doing wrong... I think... use fwd slashes for parameters, not backslashes. If you use backslashes like dir \a\s you are specifying a desktop folder called "" ie"nothing", and if you do not have such a beast you will get a path not found error. If you entered dir a/s you might instead get a file not found error.
Last edited by gerbil; Oct 16th, 2008 at 9:03 pm.
Reputation Points: 239
Solved Threads: 296
Industrious Poster
Offline 4,169 posts
since May 2005