editing dos batch file

October 28, 2009 at 06:17:37
Specs: Windows XP
hello there i dont know whwther this the right section to post but i found this more appropriate then others i want to edit the install path of a dos batch file and i dont know the commands i tried to change it but somehow the changes delete data from my drive the actual commands are which i can acess by right clicking on the icon and selecting edit
set CDIR=%CD%\Install Files
set ID=%USERPROFILE%\Games\Unreal Tournament 2004
set TD=%HOMEDRIVE%\UT2004-TMP
i want to change it to d:\games how should i do that and also there is a command line with echo * Game Path: %ID%

See More: editing dos batch file

Report •


#1
October 28, 2009 at 06:29:14
This is as good a place as any.

There is no DOS in XP.

Do you mean that the changed file causes data to be deleted?

I may help to post the unmodified and the modified so someone can figure out what's going on.


=====================================
Helping others achieve escape felicity

M2


Report •

#2
October 29, 2009 at 07:34:27
i want to change it
Define "it"

Report •

#3
October 30, 2009 at 02:11:02
R2,

Sounds like something my old boss at UMAD would say.

"define small problem"


=====================================
Helping others achieve escape felicity

M2


Report •

Related Solutions

#4
October 30, 2009 at 03:40:46
Well, whenever someone says "it," I think of the movie It.

Report •

#5
October 30, 2009 at 07:47:54
Change this line...

set ID=%USERPROFILE%\Games\Unreal Tournament 2004

with

set ID=D:\Games\Unreal Tournament 2004

And yes IT would be nice to see the entire code.


Report •

#6
October 30, 2009 at 10:26:53
Perhaps I'm missing something. Why don't you just open the script in Notepad, and make the change?

Report •


Ask Question