Hi,
this could be a typical newbie problem. I only recently became hooked again on TC after 10 years of commandline abstinence - so to speak. I feel a little bit rusty.
My idea was to make a script (in the \scripts directory that is in the path) that enables me to write a new script in that directory regardless of the directory i am in at that moment. This is the (simple) script I wrote:
rem --makescript.btm--
@echo off
pushd
cdd %_DISK:\scripts
ide /C %1
popd
Whenever I run this script (for example: makescript test.btm) the Ide starts with the filename %1 - literally! When i change the editor in the script like this:
@echo off
pushd
cdd %_DISK:\scripts
ue /C %1
popd
(where ue is an alias that starts up UltraEdit)
UltraEdit starts up with the filename that is provided in the first parameter (test.btm in the example), not %1. This - for me - is the expected behaviour.
What am i missing?
.feike.
this could be a typical newbie problem. I only recently became hooked again on TC after 10 years of commandline abstinence - so to speak. I feel a little bit rusty.
My idea was to make a script (in the \scripts directory that is in the path) that enables me to write a new script in that directory regardless of the directory i am in at that moment. This is the (simple) script I wrote:
rem --makescript.btm--
@echo off
pushd
cdd %_DISK:\scripts
ide /C %1
popd
Whenever I run this script (for example: makescript test.btm) the Ide starts with the filename %1 - literally! When i change the editor in the script like this:
@echo off
pushd
cdd %_DISK:\scripts
ue /C %1
popd
(where ue is an alias that starts up UltraEdit)
UltraEdit starts up with the filename that is provided in the first parameter (test.btm in the example), not %1. This - for me - is the expected behaviour.
What am i missing?
.feike.