1.

Solve : Open Folder From Command Prompt?

Answer»

I would LIKE to include a line in my batch file that opens a window of a specific directory.  I know that in XP, you can use:

Code: [Select]start c:\FolderName
When I run this in 2000, it just goes to the folder within DOS. What code can I run to open the directory in a window?!try this:
explorer c:\FolderName
Also, just a point: To CHANGE directories in DOS, try the "CD" command instead. ("CD" is short for "ChDir".)

Code: [Select]CD windows Quote

Also, just a point: To change directories in DOS, try the "CD" command instead. ("CD" is short for "ChDir".)

Code: [Select]CD windows

I am having trouble FIGURING out why you posted this info. I don't see ChDir or CD anywhere in this thread. The subject is START.

By the way, START works in WindowsNT. So does Explorer. That was a GOOD suggestion. It will be interesting to see if it helps. It may be that his system cannot do START or Explorer.

Mac



I posted the info for this reason:

Quote
When I run this in 2000, it just goes to the folder within DOS.

I wanted to point out that there was an easier method of accomplishing the same effect. In retrospect, I probably didn't need to post that info. But it "seemed like a good idea at the time". :-/Actually, the Explorer method did exactly what I needed, since I wanted to open a window and not the diectory in DOS!


Discussion

No Comment Found