ScriptUO
Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: paezao on October 22, 2009, 07:28:16 PM
-
Hey everyone.
Im trying to write a file in a script, but its just not working.
Ive seen similar code in various scripts here but it doesnt work for me :(
My code is like that atm:
execute cmd.exe /c echo > %path
Im using EUO 1.5 Version 155 to run it
Anyone got any ideas?
-
Hi,
what OS do you use ?
Do you have a Path command set for your "DOS Box" ?
The cmd.exe is in usually in the folder C:\Windows\System32
try to open the cmd.exe via the windows RUN.. button
to see if it can be found from without full pathname
if this is not working ... add the missing Folder to the path
cu
-
Thanks for replying
It works via run with just cmd
-
Hi,
can you check out if this runs for you ?
Set %FileName #CURPATH , TestFile.txt
Display File: %FileName $
Execute cmd.exe /c echo Textline , #SPC , for , #SPC , Export > %FileName
You should end up with a new File called TestFile.txt
in your actual EUOX Folder.
cu
-
Hey that worked !!
Thanks a lot Rana!!
-
Hey that worked !!
Thanks a lot Rana!!
No problem, you are welcome ....
I am glad and I hope it works now for your script too !
cu