Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Placement Of Batch Files

- - - - -

  • Please log in to reply
2 replies to this topic

#1
wullieb1

wullieb1

    Junior

  • Member
  • Pip
  • 83 posts
  • Joined 01-March 05
This is going to be an un-believably stupid question for you guys to answer.

I want to place my batch file in a folder called "Batch Files" in the applications folder. Now when i insert the command to run a batch file in my winnt.sif file as such

%SystemDrive%\Install\Applications\Batch Files\Office2003.cmd

which is in the [GUIRunOnce] it gives me an error saying that the line 49 is incorrect but when i replace the line and move the batch file to

%SystemDrive%\Install\Office2003.cmd

it works.

Is it because the batch files folder has a space in the name??

I did say it was an easy one.

Cheers


How to remove advertisement from MSFN

#2
argon007

argon007

    Argon Party

  • Member
  • PipPipPip
  • 360 posts
  • Joined 09-July 04
Yes, I have experieced this problem.
That is because of space.
I don't know why.
Posted Image

#3
wullieb1

wullieb1

    Junior

  • Member
  • Pip
  • 83 posts
  • Joined 01-March 05
It wasn't till i was posting that i noticed the space.

Thanks for your help m8




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users