Am Samstag, den 09.12.2006, 18:11 +0200 schrieb Alon Lutzker: > Hi Mario, > > I worked on that hint, but I still couldn't get it. I'm sure it's something > stupid... > > I have a batch file that is called copy-i386.bat which looks like that. > > :: OPTIONAL: copy i386 to local machine > :: @Echo off > > echo %OS_MEDIA% > > todo.pl "xcopy %OS_MEDIA%\i386 c:\"
The first thing is that you have a wrong escaping: c:\" means that the last " is quoted. Its aslo better to escape the vars because you dont know if there might be white space in it. Just try this: todo.pl "xcopy \"%OS_MEDIA%\i386\" c:\ " Or maybe whithout the todo.pl stuff: xcopy "%OS_MEDIA%\i386" c:\ greetings > > The variable comes out empty when it runs, even the "echo". > > What am I missing? > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mario > Gzuk > Sent: Wednesday, November 29, 2006 1:02 PM > To: Alon Lutzker > Cc: [email protected] > Subject: Re: [Unattended] copying the i386 directory > > Hi, > just take a look into the c:\netinst\unattend.txt -> Section _meta. I hope > this hint is enough.... > > greetings mario > > Am Mittwoch, den 29.11.2006, 12:54 +0200 schrieb Alon Lutzker: > > Hi All, > > > > Does anybody have a bat file that will copy the relevant i386 > > directory to the c:\ drive of the target? > > > > I tried to do it using the %WINVER% variable, but it seems to fill > > that variable from the installed OS, which means I can't distinguish > > between the directories in z:\os. There I have winxpsp1 winxpsp2 > > winxphm (XP Home) and other XP versions in different languages, which > > all give %WINVER% the same value. > > > > Any help would be appricieated. > > > > Alon > > > > > > ---------------------------------------------------------------------- > > --- Take Surveys. Earn Cash. Influence the Future of IT Join > > SourceForge.net's Techsay panel and you'll get the chance to share > > your opinions on IT & business topics through brief surveys - and earn > > cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV > > DEV _______________________________________________ unattended-info > > mailing list [email protected] > > https://lists.sourceforge.net/lists/listinfo/unattended-info > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's > Techsay panel and you'll get the chance to share your opinions on IT & > business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > unattended-info mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/unattended-info > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > unattended-info mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/unattended-info ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ unattended-info mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unattended-info
