You are here

Command Prompt Portable - parameters

7 posts / 0 new
Last post
stone1343
stone1343's picture
Offline
Last seen: 4 years 3 months ago
Joined: 2006-09-25 12:45
Command Prompt Portable - parameters

I'm trying to figure something out with the new Command Prompt Portable.

I used to be able to pass parameters to cmd.exe, such as "/c backup346" to call a batch file (with /c to close the window at the end).

I've looked at CommandPromptPortable.nsi, and I don't think it supports parameters.

Can anyone confirm this?

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Nope

it doesnt but you can put them into the batchfile at \CommandPromptPortable\Data\Batch.
“Science is the belief in the ignorance of the experts” - Richard P. Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

stone1343
stone1343's picture
Offline
Last seen: 4 years 3 months ago
Joined: 2006-09-25 12:45
Thank you

Yes but that only helps if I always want Command Prompt Portable to do the same thing, doesn't it?

Anyway, it's no biggie, just thought I'd ask.

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Yes

the batch file is for "always".
“Science is the belief in the ignorance of the experts” - Richard P. Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

consul
consul's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-05-02 13:47
How about something in the other files

SO does someone know if there is a way to make a dos game/program have a script run before the game starts, to open the CommandPromptPortable first?

Or is that gonna get added into the next gen of PAM so DOS programs open correctly, consistently?
"... respect, all good works are not done by only good folk. For here, at the end of all things, we shall do what needs to be done."

Don't be an uberPr∅. They are stinky.

Frank D. Hubeny
Offline
Last seen: 12 years 10 months ago
Joined: 2006-06-29 06:53
Hello Group; Is there a list

Hello Group;

Is there a list of obtions some where that can be added to the batch file. John mentions that you can change things like color and columns. Where can I find a list of these and how to use them.

Frank D. Hubeny

John T. Haller
John T. Haller's picture
Online
Last seen: 37 min 8 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Batch Commands

Just search the web for details on batch files and DOS commands.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments