Really simple/easy request for a script, one minutes work
There is a bug with PartyPoker in the latest version that the notes.txt file gets deleted/truncated.
We need a script that does this: 1) Copies the notes.txt file to a specified folder, and names it notes.datestamp-timestamp.txt 2) Starts party poker. At least this way we can recover it, if it gets deleted again. |
Re: Really simple/easy request for a script, one minutes work
Copy paste the text into notepad. Save as a .bat file. Double click to run. The window will hang around until party is closed, someone else might be able to prevent this.
@echo off IF NOT EXIST "%programfiles%\partygaming\partypoker\notes backup\" MKDIR "%programfiles%\partygaming\partypoker\notes backup\" for /f "tokens=1-3 delims=/- " %%a in ('date /t') do set XDate=%%a-%%b-%%c for /f "tokens=1-3 delims=: " %%a in ('time /t') do set XTime=%%a-%%b-%%c IF EXIST "%programfiles%\partygaming\partypoker\notes.t xt" COPY "%programfiles%\partygaming\partypoker\notes.t xt" "%programfiles%\partygaming\partypoker\notes backup\notes.%XDate%_%XTime%.txt cd %programfiles%\partygaming\ start partygaming.exe -P=PartyPoker |
Re: Really simple/easy request for a script, one minutes work
That's great thanks, will try it later when I get home.
|
Re: Really simple/easy request for a script, one minutes work
how does one save as a .bat file?
|
Re: Really simple/easy request for a script, one minutes work
thanks for doing this btw Phil
|
Re: Really simple/easy request for a script, one minutes work
fabulous
|
Re: Really simple/easy request for a script, one minutes work
[ QUOTE ]
how does one save as a .bat file? [/ QUOTE ] |
Re: Really simple/easy request for a script, one minutes work
goto save
at "save as filetype" select "all" save the file as whateveryouwannanameit.bat |
Re: Really simple/easy request for a script, one minutes work
i changed programfiles to programme as im running a german windows and it keeps telling me it cant find partygaming.exe
hyahyhyhyhchchyhy |
Re: Really simple/easy request for a script, one minutes work
[ QUOTE ]
i changed programfiles to programme as im running a german windows and it keeps telling me it cant find partygaming.exe hyahyhyhyhchchyhy [/ QUOTE ] Try changing them all to "progra~1" instead. Juk [img]/images/graemlins/smile.gif[/img] |
All times are GMT -4. The time now is 07:56 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.