Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
CD Label
Name: S A Date: October 30, 2003 at 08:19:23 Pacific OS: XP CPU/Ram: P4, 1.5GB
Comment:
I am trying to create a batch file that will check the volume of the CD I put in the workstation and then execute another batch file based based upon that CD volume name. Any suggestions?
Name: bitbyte Date: October 30, 2003 at 11:19:33 Pacific
Reply:
hope this helps
it assumes the cd drive is e: correct cd label is cd1 (its case sensitive) -------------------------- @echo off vol e:|find "cd1" > NUL if errorlevel 1 goto wrongcd echo cd ok goto end
:wrongcd echo cd not ok
:end
0
Response Number 2
Name: S A Date: October 30, 2003 at 11:28:08 Pacific
Reply:
Thank you very much. It worked great! I do not mean to trouble you but what does the "> NUL" do?
0
Response Number 3
Name: bitbyte Date: October 30, 2003 at 11:53:20 Pacific
Reply:
it sends the output of FIND to the NUL device instead of the standart output (screen). NUL is a special device, data you send there will be not stored in any way
0
Response Number 4
Name: S A Date: October 30, 2003 at 12:08:16 Pacific
Reply:
Gotcha! So it is like a temporary variable? If I wanted the value stored to a true variable, what would be the syntax?
Thanks alot for your help. I am a bit slow picking this stuff up.
0
Response Number 5
Name: daMANiack Date: November 9, 2003 at 12:27:41 Pacific
Reply:
Hi,
Very handy, but how can I search my devices looking for a specific Volume Label as not all systems would have their CD-Rom using the same device letter.
Summary: Hi, has anyone ever designed a printable cd label for a (MS?)DOS boot cd, and if so then could you give me a link to it? Just thought it would look nicer than written on with a black marker!!! Thank-y...
Summary: 1) your pc crashe when you used the "device=c:\dos\mscdex.exe /d:mscd000" line because mscdex was intended to be loaded as a direct device loader. 2) i will guess that the file toshv224.sys is the cd...
Summary: I have been trying to create a boot cd-r from old MS-DOS 6.22 disks, and have as of yet been 90% unsuccessful. The reason I've have 10% successfulness is that I found out how to have MS-DOS setup to r...