RoboIntern [DotNET Task Scheduler]

Submit portable freeware that you find here. It helps if you include information like description, extraction instruction, Unicode support, whether it writes to the registry, and so on.
Message
Author
User avatar
SYSTEM
Posts: 1981
Joined: Sat Jul 31, 2010 1:19 am
Location: Helsinki, Finland

Re: RoboIntern [DotNET Task Scheduler]

#16 Post by SYSTEM » Fri Jan 22, 2021 6:08 am

Midas wrote:
Fri Jan 22, 2021 5:50 am
webfork wrote:I've never seen that COMSPEC function before or understood it as necessary. I've always liked how straightforward Windows batch files are -- what a weird addition.

Not trying to be pedantic, but %COMSPEC% is a system variable* that always points to CMD.exe. As different systems go, I have found it is a useful trick to ensure that batches won't choke on non-standard Windows setups. Plus, it avoids pointless typing. ;)

*) You can check for more by running SET without parameters in a CLI...
On Windows 9x, COMSPEC was command.com. The main reason it was created was ability to create batch files which work both on Windows 9x and Windows NT. These days Microsoft mostly keeps it around for backwards compatibility.

I'd just write cmd.exe directly instead.
My YouTube channel | Release date of my 13th playlist: August 24, 2020

User avatar
Midas
Posts: 5952
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: RoboIntern [DotNET Task Scheduler]

#17 Post by Midas » Fri Jan 22, 2021 11:12 am

@SYSTEM: is there any reason for that beyond personal preference?

User avatar
SYSTEM
Posts: 1981
Joined: Sat Jul 31, 2010 1:19 am
Location: Helsinki, Finland

Re: RoboIntern [DotNET Task Scheduler]

#18 Post by SYSTEM » Fri Jan 22, 2021 11:34 am

Midas wrote:
Fri Jan 22, 2021 11:12 am
@SYSTEM: is there any reason for that beyond personal preference?
Not really.
My YouTube channel | Release date of my 13th playlist: August 24, 2020

Post Reply