Batch file help. Needing to position windows.

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
aGerman
Expert
Posts: 3606
Joined: 22 Jan 2010 18:01
Location: Germany

Re: Batch file help. Needing to position windows.

#16 Post by aGerman » 13 Jan 2019 05:40

It's basically the VBScript code found there:
viewtopic.php?t=4285
… but translated to JScript. I hoped I would have been able to use the XCountChars and YCountChars members of the Win32_ProcessStartup class to run the CMD process with the window size already adjusted. That didn't work though. I had to use the MODE command wich makes it look rather clumsy with all the escaping of special characters.
Anyway, glad it helped.

Steffen

Post Reply