Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #72

Re: Batch commands that work in NT/XP but not under win-98?

From "Todd Vargo" <tlvargo@sbcglobal.netz>
Newsgroups alt.msdos, comp.os.msdos.programmer, comp.os.msdos.misc
Subject Re: Batch commands that work in NT/XP but not under win-98?
Date 2011-04-30 23:59 -0400
Organization albasani.net
Message-ID <ipilqt$a6i$1@news.albasani.net> (permalink)
References <4DBCB351.A783C7CD@Guy.com>

Cross-posted to 3 groups.

Show all headers | View raw


"DOS Guy" <DOS@Guy.com> wrote in message news:4DBCB351.A783C7CD@Guy.com...
> This web-page:
>
> http://batcheero.blogspot.com/2007/06/how-to-enabledelayedexpansion.html
>
> decribes one particular batch command (setlocal ENABLEDELAYEDEXPANSION)
> that I'm encountering in a utility program designed to convert
> multimedia video files from various formats into MKV format.
>
> The utility program is called VID2EVA (http://www.vid2eva.com/)
>
> I'm not sure what other commands or parameters invoked by this batch
> file is specific to NT-based OS's, but this one in particular seems
> somewhat important.  Is there an equivalent function or statement that
> can be used to replace this command when run under win-98?
>
> The batch file itself is about 163 kb in size, and it can be downloaded
> as part of this archive:
>
> http://eoi.lefti.net/stuff/eva9000beta/VID2EVA%20Stable%20Releases/VID2EVA-2009-06-18.zip
>
> A direct link to the batch file is here:
>
> http://www.fileden.com/files/2008/7/19/2010382/VID2EVA.zip
>
> I had to rename it from .bat to .txt for fileden to accept it.

WARNING! The first .zip link wants to download a 48.2MB file.

The batch in the second .zip link can not be used in Win9x for more reasons 
than just the lack of SETLOCAL. The following commands are also not valid in 
Win9x.

CALL :LABELNAME
for /F "tokens=* delims="
Multiple line commands i.e. ) else (
Expansion of %0 using %~dp0
set /a
for /d
Nested FOR commands
NEQ, GEQ etc. are not valid with IF command
Variable substrings i.e. !DriveLetter:~0,1!
Spacces around == are relevent with IF command in Win9x
findstr.exe does not exist
:EOF is not an intrinsic label

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Batch commands that work in NT/XP but not under win-98? DOS Guy <DOS@Guy.com> - 2011-04-30 21:11 -0400
  Re: Batch commands that work in NT/XP but not under win-98? Jacob <asdf@hsu.edu> - 2011-04-30 22:46 -0400
  Re: Batch commands that work in NT/XP but not under win-98? "Todd Vargo" <tlvargo@sbcglobal.netz> - 2011-04-30 23:59 -0400
  Re: Batch commands that work in NT/XP but not under win-98? Marcus Houlden <spam@nukesoft.co.uk> - 2011-05-01 13:47 +0000
    Re: Batch commands that work in NT/XP but not under win-98? DOS Guy <DOS@Guy.com> - 2011-05-03 10:26 -0400

csiph-web