1.

Solve : Directories?

Answer»

I have been at this for hrs looking through books and searching the INTERNET and cant for the life of me find what I need. I need to KNOW the steps I would have to take to make a directory under the root directory using the command line interfaceOk. You MEAN root as in top-level, lile your drive? Simple.

Setlocal enabledelayedexpansion
for /f "tokens=1,2 delims=\" %%a in (%cd%) do set rdir=%%a\
md %rdir%FOLDERNAMEQuote from: HELPMEH on November 25, 2009, 08:10:24 PM

Ok. You mean root as in top-level, lile your drive? Simple.

yeah.

Code: [Select]md \foldername

no need for for...Quote from: BC_Programmer on November 25, 2009, 08:20:39 PM
yeah.

Code: [Select]md \foldername

no need for for...

And no need for delayed expansion either (in any script in this thread)Thank you both for your help. OK here's the problem I am having. I have an assignment and the instructor wants me to list the steps it takes to make a directory under a root directory using my COMPUTER which is Windows XP using the Command Line Interface. I know I locate and pull up the command prompt going to Start/Run/ and typing in cmd but no clue what to do next to complete this assignment. Any additional help would be appreciated. Quote from: msj23 on November 27, 2009, 08:14:51 PM
Thank you both for your help. OK here's the problem I am having. I have an assignment and the instructor wants me to list the steps it takes to make a directory under a root directory using my computer which is Windows XP using the Command Line Interface. I know I locate and pull up the command prompt going to Start/Run/ and typing in cmd but no clue what to do next to complete this assignment. Any additional help would be appreciated.
And this is where we stop. Your instructor should have taught you how, or you were supposed to have learned how. Either way, you should know how to do it, and how it works. Cool thxs......


Discussion

No Comment Found