B@T Posted May 28, 2010 Report Share Posted May 28, 2010 Hi, I set up Ketarin to run a default command for each updated aplication. The command is: move /y "{file}" "C:\Documents and Settings\User\Documents\installers\installable" (That way I can seperate updated applications from all aplications, so I can install them later.) But updated applications stay at the all application's folder. If I run the command manually on an updated file, everything works well. So I added some debug to the command: echo move /y "{file}" "C:\Documents and Settings\User\Documents\installers\installable" > debug.txt notepad.exe debug.txt And after an update, notepad.exe opens debug.txt which contains this: move /y "C:\Documents and Settings\User\Documents\installers\unlocker1.8.9.exe" "C:\Documents and Settings\User\Documents\installers\installable" So it looks like everything is ok. If you have any idea what is the problem, please help. PS: I have an anouther computer, and I installed Ketarin on it and configured the same way, and the move command works just fine. I can't understand... Link to comment Share on other sites More sharing options...
shawn Posted May 30, 2010 Report Share Posted May 30, 2010 Shouldn't you have a backslash at the end of the destination folder? "C:\Documents and Settings\User\Documents\installers\installable\" vs "C:\Documents and Settings\User\Documents\installers\installable" Link to comment Share on other sites More sharing options...
B@T Posted June 2, 2010 Author Report Share Posted June 2, 2010 (edited) No, it's working well without the last backslash from command line. I think i know what is the problem. Well, I didn't write that because I thought it's not relevant, but I'm not english (maybe you found this out from my bad english ), so my Windows is not english too. And the command won't run because there's a special character in the path of the file, and command line uses different codepage. Let me explain this with this example: Commands: echo "{file:directory}:" > debug.txt dir /b "{file:directory}" >> debug.txt echo ---------- >> debug.txt echo "C:\Documents and Settings\Baksa ?va\Dokumentumok\installerek\programok:" >> debug.txt dir /b "C:\Documents and Settings\Baksa ?va\Dokumentumok\installerek" >> debug.txt echo ---------- >> debug.txt debug.txt: "C:\Documents and Settings\Baksa Éva\Dokumentumok\installerek\programok:" ---------- "C:\Documents and Settings\Baksa ?va\Dokumentumok\installerek\programok:" 7z465.exe abevjava_install.jar ccsetup232.exe cdbxp_setup_4.3.2.2140.exe dopdf-7.exe ebank2_setup_142.download.exe ezim-1.2.7.zip FoxitReader331_enu_Setup.exe FTS_SystemDiagnostics_2040006_1034397.EXE hotspotfinder-bin.zip install_flash_player.exe install_flash_player_ax.exe ir050.exe jre-6u20-windows-i586.exe Ketarin-1.1.0.331.zip MsgPlusLive-484.exe msicuu2.exe pc-wizard_2010.1.94-setup.exe SeaMonkey Setup 2.0.4.exe setup_av_free.exe SkypeSetup.exe tcmd750a.exe tuxguitar-1.2-windows-x86-installer.exe UltraVNC_1.0.8.2_Setup.exe unlocker1.8.9.exe vlc-1.0.5-win32.exe WindowsDefender.msi wlsetup-all.exe ---------- (On the place of the question marks, there's an another char, which is in the ascii codepage, but not in latin or unicode codepages.) Well, I don't have any idea, how can I solve this problem. Maybe I can workaround it using a junction point. Do you have any idea? Edited June 2, 2010 by B@T Link to comment Share on other sites More sharing options...
josh Posted June 3, 2010 Report Share Posted June 3, 2010 (edited) i am rather confused with ur intentions mate... seems to me ur trying to run move /y "{file}" "C:\Documents and Settings\User\Documents\installers\installable" as global command but u are unable to move files? cant say i ever had this problem w Ketarin. are u using command with 'default command to execute after updating an application' box? in alternative u can add above command per application, i doubt it wont run Edited June 3, 2010 by josh Link to comment Share on other sites More sharing options...
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