Search found 131 matches

by elzooilogico
30 Aug 2025 04:06
Forum: DOS Batch Forum
Topic: i am looking for a batch command choice.com for WinXP
Replies: 3
Views: 204

Re: i am looking for a batch command choice.com for WinXP

As far as I may remember, there's a Xp choice compatible version in the Win Server 2003 SDK
by elzooilogico
30 Aug 2025 04:00
Forum: DOS Batch Forum
Topic: how can i get ansi.sys loaded in WinXP?
Replies: 2
Views: 241

Re: how can i get ansi.sys loaded in WinXP?

If you don't feel uncomfortable with installing third partly tools, take a look at this viewtopic.php?f=3&t=9156&p=59769#p59769
by elzooilogico
25 May 2022 15:10
Forum: DOS Batch Forum
Topic: Batch running files remotely
Replies: 5
Views: 11320

Re: Batch running files remotely

you may try

Code: Select all

wmic /node:"some_computer" proccess call create "c:\\path_to_proccess\\your.exe
by elzooilogico
02 Mar 2022 15:55
Forum: DOS Batch Forum
Topic: Fail at set batch with Admin Rights and put the computer at Domain
Replies: 2
Views: 5533

Re: Fail at set batch with Admin Rights and put the computer at Domain

some thoughts first, as you’ve stated, your script opens multiple windows, what is your script name? it’s trying to call/use some command with the same name? also, you must add computers to trusted server list, in order to use remote admin using wmi or powershell (this last not sure, but the first i...
by elzooilogico
13 Jan 2021 11:24
Forum: DOS Batch Forum
Topic: Need help running imagemagick command over many files
Replies: 9
Views: 14335

Re: Need help running imagemagick command over many files

well, if you run from explorer, then place

Code: Select all

1>nul
in front of

Code: Select all

convert "%~1" -resize 300 "%output_name%"
inside your script, so

Code: Select all

@echo off
...
...
1>nul convert "%~1" -resize 300 "%output_name%"
...
...
by elzooilogico
13 Jan 2021 09:29
Forum: DOS Batch Forum
Topic: Need help running imagemagick command over many files
Replies: 9
Views: 14335

Re: Need help running imagemagick command over many files

did you try

Code: Select all

1>nul scriptname input.jpg -resize 300 output.jpg
where scriptname is you actual script?
by elzooilogico
13 Jan 2021 05:03
Forum: DOS Batch Forum
Topic: Need help running imagemagick command over many files
Replies: 9
Views: 14335

Re: Need help running imagemagick command over many files

you may run your script

Code: Select all

1>nul convert input.jpg -resize 300 output.jpg
this will suppres any normal output while errors should be displayed
by elzooilogico
28 Sep 2020 03:34
Forum: DOS Batch Forum
Topic: How to remove Quotes from a variable with "ampersand" (&) ?
Replies: 1
Views: 4761

Re: How to remove Quotes from a variable with "ampersand" (&) ?

you can use a for loop to remove quotes with the ~ modifier. see for /? for further information.

Code: Select all

for %%a in (%dir%) do echo %%~a
by elzooilogico
17 Sep 2020 03:41
Forum: DOS Batch Forum
Topic: How to pass "chcp 1252" command to START "" /B /WAIT program?
Replies: 4
Views: 9128

Re: How to pass "chcp 1252" command to START "" /B /WAIT program?

have you tried

Code: Select all

start "" /NORMAL /B /WAIT ">nul chcp 1252 & D:\foobar\myprog.exe /parm1 /parm2 someparm”
by elzooilogico
28 Aug 2020 08:26
Forum: DOS Batch Forum
Topic: SerialPort copy string instead of file
Replies: 5
Views: 8545

Re: SerialPort copy string instead of file

have you tried

Code: Select all

echo hello>COM3
or

Code: Select all

set /p str=“hello" <nul >\\.\COM3
the diference here is that first writes hello plus CR+LF, and the second one does not.
by elzooilogico
05 May 2020 14:37
Forum: DOS Batch Forum
Topic: Depicus wake on lan batch file question
Replies: 3
Views: 7408

Re: Depicus wake on lan batch file question

that's what pause command does, wait for user to press a key. simply change

Code: Select all

pause
to

Code: Select all

timeout /t 2
to wait two seconds
by elzooilogico
20 Apr 2020 09:11
Forum: DOS Batch Forum
Topic: How to disable Avast until reboot
Replies: 7
Views: 10377

Re: How to disable Avast until reboot

aren't those procceses (or at least one of them) services?

in that case you need

Code: Select all

sc stop ""ServiceName"
or

Code: Select all

net stop "ServiceName"