batch file - How do I re-write this DOS command without using the PIPE symbol? -
i use command verify if particular schedule task exists:
schtasks.exe | findstr /i /c:taskname
i need write not use pipe "|" tried this:
schtasks.exe /query /tn taskname
but works windows 2008, not windows 2003 machines since /tn
option not available in 2003.
any ideas? thank you!
heh, yeah.
schtasks /query >tmpfile && findstr /i /c:"taskname" tmpfile
doesn't use pipe. :>
Comments
Post a Comment