MSFN Forum: delete some file after silent install? - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

delete some file after silent install? I tried but not delete Rate Topic: -----

#1 User is offline   ZEUS__ 

  • Member
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 03-January 08
  • OS:Windows 7 x86
  • Country: Country Flag

  Posted 20 March 2008 - 01:05 PM

hi,
after my silent install I want to delete a file.I look at here;
http://unattended.ms...xp/view/web/31/

and same as I add my install.cmd;

start /wait program.exe
del %systemdrive%\%programfiles%\Common Files\xxx\xxx\xxx\some.exe


but it does not work?how can I delete this file?
thanks

added:

opss..sorry for this :wub: I forget double quote("")
after this;
del "%systemdrive%\%programfiles%\Common Files\xxx\xxx\xxx\some.exe" /f /q

ıt works fine for another file..sorry.
I'll try for the real file to delete I want.

This post has been edited by ZEUS__: 20 March 2008 - 01:32 PM



#2 User is offline   Mijzelf 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 449
  • Joined: 11-April 07

Posted 20 March 2008 - 01:28 PM

%programfiles% is a complete path. So the command should be
del %programfiles%\Common Files\xxx\xxx\xxx\some.exe


#3 User is offline   Grake 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 369
  • Joined: 23-March 05

Posted 20 March 2008 - 01:32 PM

also in ""

#4 User is offline   ZEUS__ 

  • Member
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 03-January 08
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 20 March 2008 - 01:42 PM

thanks friends.:)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy