Wilders Security Forums  

Go Back   Wilders Security Forums > Official Paragon Support Forum > Paragon Drive Backup Product Line
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old June 27th, 2011, 12:42 PM
Anakunda's Avatar
Anakunda Anakunda is offline
Regular Poster
 
Join Date: Feb 2010
Posts: 67
Default Paragon Scripting Language (PSL) question

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:
exec file "C:\\Perl\\bin\\perl.exe C:\\Users\\Anakunda\\Documents\\backup_free_space.pl -r 3gb Y:\\backup"

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  
Old July 19th, 2011, 01:27 PM
Mech_An's Avatar
Mech_An Mech_An is offline
Frequent Poster
 
Join Date: Mar 2010
Posts: 814
Default Re: Paragon Scripting Language (PSL) question

scripts.exe doesn't work with non-paragon scripts. Paragon scripts has specific structure.

What is in backup_free_space.pl ?
__________________
Mechanical animal
  #3  
Old July 20th, 2011, 08:57 AM
Anakunda's Avatar
Anakunda Anakunda is offline
Regular Poster
 
Join Date: Feb 2010
Posts: 67
Default Re: Paragon Scripting Language (PSL) question

Quote:
Originally Posted by Mech_An
What is in backup_free_space.pl ?

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  
Old July 21st, 2011, 10:29 AM
Mech_An's Avatar
Mech_An Mech_An is offline
Frequent Poster
 
Join Date: Mar 2010
Posts: 814
Default Re: Paragon Scripting Language (PSL) question

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  
Old July 22nd, 2011, 01:44 AM
Anakunda's Avatar
Anakunda Anakunda is offline
Regular Poster
 
Join Date: Feb 2010
Posts: 67
Default Re: Paragon Scripting Language (PSL) question

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  
Old July 22nd, 2011, 04:47 AM
Mech_An's Avatar
Mech_An Mech_An is offline
Frequent Poster
 
Join Date: Mar 2010
Posts: 814
Default Re: Paragon Scripting Language (PSL) question

Glad to know you found the solution
__________________
Mechanical animal
 

Wilders Security Forums > Official Paragon Support Forum > Paragon Drive Backup Product Line « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 07:49 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums