#150539 - 2005-10-25 05:20 PM
Re: Helpful Hint(?)
|
tsmith
Fresh Scripter
Registered: 2005-10-19
Posts: 27
|
Well now... Guess what? Placing a '+' between them *does* work. So...
This does: @YEAR + @MONTHNO
This doesn't: @YEAR@MONTHNO
Hmmm... In those words of that famous Cuban Band Leader, Ricky Ricardo...
"Lucy, you gotta lotta splainin to do!" 
Seriously, could I impose upon someone to explain the difference between this (which works):
If Not Exist ("Y:CompInfo_@YEAR@MONTHNO.txt")
and this? (which doesn't work):
Shell "%COMSPEC% /e:1024 /c DIR /s *.mp? > Y:DSI_" + @YEAR@MONTHNO + "_" + @WKSTA + ".txt"
I'm assuming that I thought if one worked, that the other should too, which is why I hadn't tried placing a '+' between them myself.
Thanks,
Tom
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1146 anonymous users online.
|
|
|