HackerZer0 Posted June 4, 2007 Posted June 4, 2007 I have been trying to create a batch file compiler in autoit... because i can't find a free one that works with Windows XP... I tried to create a script that searched for *.bat files, and made another script that included them with FileInstall, then compiled that script... but the includes didn't work with variables, and i didn't want to have to edit the script for every program I made in Batch... then i tried making a script that searched for *.bat files and read each line, then wrote it to a new script that would write those line to a batch file when run... ex: batch file contains: @echo off echo hi how are you? Press any key to exit.. pause > nul exit script reads first line "@echo off" then write a new .au3 file with this line. FileWriteLine("myfile.bat", "@echo off") Using this line of code: ( $line represents the line of the batch file that was read ) FileWriteLine("prog.au3", 'FileWriteLine("myfile.bat", ' & $line & '") but it wont work and i think it has somthing to do with the quotes... i keep getting FileWriteLine("myfile.bat", L ") in the new prog.au3 file.... i have no idea why... PLEASE HELP ME!! thx : ) Earn money on CASHCRATE by sitting around doing nothing..
/dev/null Posted June 4, 2007 Posted June 4, 2007 you better post the whole code, otherwise nobody knows what you are doing wrong .... __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *
HackerZer0 Posted June 4, 2007 Author Posted June 4, 2007 i got angry and deleted it... lol if i feel up to it i will rewrite it and put it up... Earn money on CASHCRATE by sitting around doing nothing..
/dev/null Posted June 4, 2007 Posted June 4, 2007 i got angry and deleted it... lolAh, O.K. so the problem has been solved. Fine! __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now