![]() |
|
#1
|
||||
|
||||
|
Hello, how do I write PSL command properly that invokes a perl script.
I have written this small script file which however doesnot seem to do anything test.psl: Code:
If I execute the perl proggy directly from cmd, I get some printout and then it exits, but if I call "C:\Program Files (x86)\Paragon Software\Hard Disk Manager 11 Professional\program\scripts.exe" "C:\Program Files (x86)\Paragon Software\Hard Disk Manager 11 Professional\scripts\test.psl" this doesnot seem to print anything and it doesnot exit, looks like the perl proggy even doesnot run. What's wrong? Last edited by Anakunda : June 27th, 2011 at 12:49 PM. |
|
#2
|
||||
|
||||
|
scripts.exe doesn't work with non-paragon scripts. Paragon scripts has specific structure.
What is in backup_free_space.pl ?
__________________
Mechanical animal |
|
#3
|
||||
|
||||
|
Quote:
Script to free space on target drive. I don't know how to ensure free space before running backup in scheduled mode. Can do this by PSL command? |
|
#4
|
||||
|
||||
|
you can create *.bat file to execute PL script with perl.exe before running backup:
Go to Tools- Settings - Run during backup option - and point required *.bat file in the field "Execute before"
__________________
Mechanical animal |
|
#5
|
||||
|
||||
|
I`ve got finally the external script working by providing this PSL command:
exec file "perl C:\\Users\\Anakunda\\Documents\\perl\\backup_free_space.pl Y:\\backup" It just takes some while before the external command runs. |
|
#6
|
||||
|
||||
|
Glad to know you found the solution
![]()
__________________
Mechanical animal |
| « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|
|