Jump to content

Recommended Posts


Posted

A better explanation of your requirements with existinfg code etc. would prove beneficial for responders.

In the mean time, since percent is a special character, it will require escaping, with either additional percent characters or carets.

Posted
A better explanation of your requirements with existinfg code etc. would prove beneficial for responders.

In the mean time, since percent is a special character, it will require escaping, with either additional percent characters or carets.

I'm trying to remove as many CMDs as possible for easy management. Thus it start with the 13min.cmd.

13min.cmd

ECHO FOR %%i IN (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 %%i:\ExpertToolz.IMA SET CDROM=%%i: >> %SystemDrive%\Install\RunOnceEx.cmd

Posted

This single line should do what you intended:

>>%SystemDrive%\Install\RunOnceEx.cmd ECHO/FOR %%%%? IN (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 %%%%?:\EXPERTTOOLZ.IMA (SET CDROM=%%%%?:)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...