Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
batch script to set default value
Name: bearc Date: December 29, 2008 at 16:05:08 Pacific OS: Windows XP CPU/Ram: Athlon x2 5200+ / 2G Product: Dell / INSPIRON 1525
Comment:
Hello! I need to make a .bat, that process a text file. The text file name is the first parameter of the batch file call. If no parameter is present, then the default value for the text file must be "a.txt"
something like this:
set inputfile=%1 if %1=="" set inputfile=a.txt echo %inputfile%
but this "script" does not work, can anyone help me please?
Summary: Hi, i want to rename all the files in my directory by stripping out the first 3 chars of the file. My files are of the type C:\01 file1.jpg C:\02 file2.jpg I want to change them to C:\file1.jpg C:\fi...
Summary: Hello, I have XP system with multiple users, and I need to set the Volume levels to Half the volume for all users by default. This setup will then be used as a default image and applied to other machi...
Summary: Hello, I need some help here ;D I have two types of files in my dir, movies > .avi subtitles > .srt But for the player to show the correct subtitles, the subtitle filename must be same as movie filena...