Author |
Message |
mjanssen
Joined: 16 Jul 2025 Posts: 2
|
Posted: Wed Jul 16, 2025 1:25 pm Post subject: How to run a profile on commandline (cmd) hidden |
|
|
How to run a profile on commandline (cmd) hidden or with a powershell script
Please help (new bee) |
|
Back to top |
|
 |
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8826
|
Posted: Thu Jul 17, 2025 12:39 am Post subject: |
|
|
Hi!
Command Line Parameters With or Without a Profile File (.fsf) Specified:
ViceVersa.exe ["profilename.fsf"] [/autocompare] [/hiddenautocompare] [/autoexec] [/dialogautoexec] [/hiddenautoexec] [/wait] [/autoclose] [/console] [/pause:x] [/showtrayicon] [/rescan] [/source:"xxx"] [/target:"xxx"] [/incsub] [/comptype:x] [/ign2secs] [/ign1hour] [/exec:x] [/log:"xxx"] [/emptylog] [/speed:xxx] [/createfolders] [/logonlysumerr]
/hiddenautoexec will run the profile specified on the command line completely hidden, for example:
ViceVersa "d:\exec.fsf" /hiddenautoexec
In the help file, under "Command Line Parameters" there are more examples. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
 |
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8826
|
Posted: Thu Jul 17, 2025 12:42 am Post subject: |
|
|
Full path (with quotes):
"C:\Program Files\ViceVersa Pro\ViceVersa.exe" "D:\Backups\Daily Backup.fsf" /hiddenautoexec
and if you ever need the 8.3 short path form (to avoid quotes entirely), you can do:
C:\PROGRA~1\ViceVersa\ViceVersa.exe D:\Backups\DAILYB~1.FSF /hiddenautoexec _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
 |
mjanssen
Joined: 16 Jul 2025 Posts: 2
|
Posted: Thu Jul 17, 2025 5:24 am Post subject: |
|
|
TGRMN Software wrote: | Full path (with quotes):
"C:\Program Files\ViceVersa Pro\ViceVersa.exe" "D:\Backups\Daily Backup.fsf" /hiddenautoexec
and if you ever need the 8.3 short path form (to avoid quotes entirely), you can do:
C:\PROGRA~1\ViceVersa\ViceVersa.exe D:\Backups\DAILYB~1.FSF /hiddenautoexec |
Thanks for your reply it's working now.
my mistake was that i didn't select a backup methode in my profile.
for those who are intrested here a powershell script
Add-Type -AssemblyName System.Windows.Forms
$result = [System.Windows.Forms.MessageBox]::Show(
"Do you want to create a backup?",
"ViceVersa Backup V 1.0 by MaMeKeDi",
[System.Windows.Forms.MessageBoxButtons]::YesNo,
[System.Windows.Forms.MessageBoxIcon]::Question
)
if ($result -eq [System.Windows.Forms.DialogResult]::Yes) {
Write-Host "User chose Yes"
& "C:\Program Files\ViceVersa Pro\ViceVersa.exe" "C:\Backups\MyBackupProfile.fsf" /log:E:\test\viceversa.log /dialogautoexec /autoclose # /autoexec # /hiddenautoexec
} else {
Write-Host "User chose No"
} |
|
Back to top |
|
 |
|