Sonic Posted February 2, 2005 Share Posted February 2, 2005 Hi all !Anyone can me remember the command line in batch for execute all *.exein a directory ?its seems : for %%i in .... excuse me for my language i"m french ... Link to comment Share on other sites More sharing options...
Radimus Posted February 2, 2005 Share Posted February 2, 2005 @echo offFOR %%D IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%D:\WIN51IP SET CDROM=%%D:Echo Installing Switchless ApplicationsFOR /f %%f in ('dir/b/s %CDROM%\Hotfixes\Switchless1\*.exe') DO Start /wait "" "%%f"FOR /f %%f in ('dir/b/s %CDROM%\Hotfixes\Switchless1\*.msi') DO Start /wait "" "%%f" /qnEcho Installing HotfixesFOR /f %%f in ('dir/b/s %CDROM%\Hotfixes\Type1\*.exe') DO Start /wait "" "%%f" /z /n /o /qFOR /f %%f in ('dir/b/s %CDROM%\Hotfixes\Type2\*.exe') DO Start /wait "" "%%f" /Q:A /R:NEcho Installing Additional Switchless ApplicationsFOR /f %%f in ('dir/b/s %CDROM%\Hotfixes\Switchless2\*.exe') DO Start /wait "" "%%f"FOR /f %%f in ('dir/b/s %CDROM%\Hotfixes\Switchless2\*.msi') DO Start /wait "" "%%f" /qnStart /wait "" "%CDROM%\hotfixes\qchain.exe" Link to comment Share on other sites More sharing options...
Sonic Posted February 2, 2005 Author Share Posted February 2, 2005 Great !!!Qchain.exe is outdated since windows xp sp1 say Microsoft. Link to comment Share on other sites More sharing options...
kenneth11zz Posted February 3, 2005 Share Posted February 3, 2005 Great !!!Qchain.exe is outdated since windows xp sp1 say Microsoft.Would someone be kind enough to explain me the procedure of installing hotfixes for Windows XP SP1? For example, where do you place the hotfixes? What files do I need to modify? etc... I have reading various methods and not sure which is one the proper one. Any help would greatly appreciated. -Kenneth Link to comment Share on other sites More sharing options...
Radimus Posted February 3, 2005 Share Posted February 3, 2005 just make the folder structure as shown in the batch above, on the root of the CDplace the patches of the appropriate type in the correct foldercall the batch from runonceex Link to comment Share on other sites More sharing options...
kenneth11zz Posted February 3, 2005 Share Posted February 3, 2005 just make the folder structure as shown in the batch above, on the root of the CDplace the patches of the appropriate type in the correct foldercall the batch from runonceexThanks. Does this method accepts long filename? Or do i have to rename each hotfixes to the 8 DOS character limitation?-Kenneth Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now