• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help with creating batch files

hypn0tik

Diamond Member
I am trying to create a batch file which will open up hyperterminal and connect to a device that is connected to my serial port.

The problem is I don't know how to enter spaces in a directory name.

When I try:

start /max c:\Documents and Settings\All Users\Start Menu\Programs\Accessories\Communications\HyperTerminal.exe

It gives me an error.

Any way to overcome this?
 
try quotation. "c:\Documents and Settings\All Users\Start Menu\Programs\Accessories\Communications\HyperTerminal.exe", and you don't need the start /max
 
You need to use the truncated, DOS 8.3 name for the documents and settings directory. Doing something else now too, so I can't check to see just what it is, buy it has a ~ in it.
 
Actually the number is dictated by where it falls in a list of truncated items in that location:

"c:\Docume~1\All~1\Start~1\Progra~1\Access~1\Commun~1\HyperTer~1.exe"
 
Back
Top