MSFN Forum: i can't seem to get his command to work..... - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

i can't seem to get his command to work..... Rate Topic: -----

#1 User is offline   kurt476 

  • YU-GI-OH!
  • PipPipPipPip
  • Group: Members
  • Posts: 624
  • Joined: 26-October 04

  Posted 09 November 2004 - 08:29 AM

i can't seem to get this command to work on the dos script.cmd or on run this command below:

%cdrom%

dose any budy know why i can't get this cmmand to work?


#2 User is offline   Denney 

  • *shrug*
  • PipPipPipPip
  • Group: Members
  • Posts: 685
  • Joined: 11-September 03

Posted 09 November 2004 - 09:02 AM

%CDROM% is NOT an enviroment variable. You need to figure out a way to find the CDROM drive letter and assign it to that variable.

Take a look around here as there are some more posts (in the unattended forum I think) that explain how to set and use a %CDROM% variable.

Again, the %CDROM% variable is NOT a default environment variable.

:)

#3 User is offline   kurt476 

  • YU-GI-OH!
  • PipPipPipPip
  • Group: Members
  • Posts: 624
  • Joined: 26-October 04

Posted 09 November 2004 - 10:29 AM

i don't see any thing that so i can use %cdrom% can some1 explain to me how i can use this command so i can run things from cd rom? but each drive for the cd rom is differnet.

#4 User is offline   kurt476 

  • YU-GI-OH!
  • PipPipPipPip
  • Group: Members
  • Posts: 624
  • Joined: 26-October 04

  Posted 09 November 2004 - 10:42 AM

hi me again yeah i didn't find any thing about this %cdrom% command i didn't find what i was looking for! :no: :} :(

#5 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

Posted 09 November 2004 - 10:44 AM

my GOD... did u even try to do a search?

anyways here u pls use the search feature

http://unattended.ms...unonceex_cd.htm

#6 User is offline   kurt476 

  • YU-GI-OH!
  • PipPipPipPip
  • Group: Members
  • Posts: 624
  • Joined: 26-October 04

Posted 09 November 2004 - 10:49 AM

yes i did i put in cdrom foud nothing and put in %cdrom% found nothing again didn't find any thing on this commaind i just want to runn a command like this

start /wait %cdrom%\application\appiilcation.exe /silent

and i am just going to have a screen to click on so it automanicly installs when i click on it that all i want to do

#7 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 09 November 2004 - 11:03 AM

you HAVE to declare the CDROM variable to do something like that.

Unless you use a program like Autoplay Menu Studio which has built in support.

you HAVE to declare it SOMEWHERE.

#8 User is offline   kurt476 

  • YU-GI-OH!
  • PipPipPipPip
  • Group: Members
  • Posts: 624
  • Joined: 26-October 04

Posted 09 November 2004 - 12:32 PM

yeah of cours i just don't know how to have this command how to find the d: drive or e: or something like that i need to find the cd-rom

#9 User is offline   Tsunami 

  • Member
  • PipPip
  • Group: Members
  • Posts: 292
  • Joined: 05-March 04

Posted 09 November 2004 - 12:34 PM

Well, you would know if you just read that website...

Quote

In order to find the correct CD drive letter, we need to include some IF EXIST statements in the RunOnceEx.cmd file. Open RunOnceEx.cmd in Notepad, and include the following after @echo off:

IF EXIST D:\CD.txt set CDROM=D:
IF EXIST E:\CD.txt set CDROM=E:
IF EXIST F:\CD.txt set CDROM=F:
IF EXIST G:\CD.txt set CDROM=G:
IF EXIST H:\CD.txt set CDROM=H:
IF EXIST I:\CD.txt set CDROM=I:
IF EXIST J:\CD.txt set CDROM=J:

Create a blank txt file called CD.txt and place this in C:\XPCD. This allows the IF EXIST command to scan all the drive letters specified, then when it finds CD.txt it will set an environment variable of %CDROM% pointing to the correct drive letter.


#10 User is offline   1chaoticadult 

  • A Part of a Dying Breed...
  • PipPipPipPip
  • Group: Members
  • Posts: 669
  • Joined: 31-August 03

Posted 09 November 2004 - 12:49 PM

You don't have to necessarily use CD.txt, I use WIN51IP.SP2 which works just like CD.txt doesn't.

#11 User is offline   kurt476 

  • YU-GI-OH!
  • PipPipPipPip
  • Group: Members
  • Posts: 624
  • Joined: 26-October 04

Posted 09 November 2004 - 12:57 PM

well drthawhizkid can show me how that works?

#12 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 09 November 2004 - 04:11 PM

@kurt476
STOP!
READ!

he simply replaced CD.TXT in what Tsunami QUOTED with WIN51IP.SP2 as THAT file is already in the CDROOT of an XP CD. THE FILE YOU SPECIFY CAN BE ANYTHING!!! EVEN AUTORUN.INF IF YOU'RE SO INCLINED.

Thread Closed.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

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