Cant run .bat files in windows 7 x32 with uac disabled

jojeda74

Distinguished
Feb 2, 2012
4
0
18,510
Sorry for the vageness of the first post.
im trying to run a .bat file to execute a script in paradox 4.0


@echo off
cls
cd\test
paradox




paradox is on the c drive "not inside program files"

c:\pdoxrun
c:\pdox40\paradox
c:\test


i disabled uac because its annoying. i know how to run as administrator from the advanced tab on a shortcut , and from the .bat itself.
i can run paradox from the cmd.
i need a way to launch a script in paradox with having to go into paradox , changing the directory, and running the script.
several employees use there scripts. and dont know how to navigate through paradox.
 

hollett

Distinguished
Jun 5, 2001
246
0
18,710
What drive is your profile on? If its redirceted via GPO then you Command window may launch on that drive and not C:
If this is the case just add a the drive after the cls so it reads

@echo off
cls
C:\
cd\test
paradox

But reading you batch file you are tring to launch a program or batch file called paradox in the C:\test folder. is this correct or are you tring to launch a script called paradox?
 

jojeda74

Distinguished
Feb 2, 2012
4
0
18,510
tried both
i still get paradox is not an internal or external command.....
and yes cd is change directory cd is not a folder on the c drive

im trying to launch a script within the test folder
 

jojeda74

Distinguished
Feb 2, 2012
4
0
18,510
ok we got it! the problem was the paradox exe. needs to be in the same folder the script is in. so i copyed the pdox40 contents into the test folder and BAM it worked!
thanks guys!
 

TRENDING THREADS