ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Find And Run Robot

2 launches: task manager, DOS prompt with directory

(1/2) > >>

ottenm:
Subject says it all, I just can't find either of them.  I can get DOS launched with an alias set to "cmd", but I'd like it to open in a different directory (not farr's).

mouser:
very good idea -- does anyone know is there an easy way to open a commandline in a specific directory, or do i need to add a general purpose ability to change to a specific directory when specifying an alias?

jgpaiva:
About the commandline, that's simple. Just create a new alias and add the following as a result:


--- ---cmd /k DRIVE: && cd FOLDER
Replacing DRIVE and FOLDER with the appropriate content.

ottenm:
Not having any luck.  Have tried many variations, even trimming them to just:
cmd /k D:  // thinking it would open cmd pointing to D:
and
cmd && dir // thinking it would open and run/display a dir

But nothing works, no cmd prompt even opens.  It does work with just "cmd" as the result, but points to the FARR directory.

jgpaiva:
Ok, i didn't test that, but now i tested something that works:

--- ---"C:\WINDOWS\system32\cmd.exe /k d:\ && cd FOLDER"Should be a solution. For some reason, the collons are necessary.

Navigation

[0] Message Index

[#] Next page

Go to full version