Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

How to run a profile on commandline (cmd) hidden

 
Post new topic   Reply to topic     Forum Index -> Tips, Tricks and More
Author Message
mjanssen



Joined: 16 Jul 2025
Posts: 2

PostPosted: Wed Jul 16, 2025 1:25 pm    Post subject: How to run a profile on commandline (cmd) hidden Reply with quote

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

PostPosted: Thu Jul 17, 2025 12:39 am    Post subject: Reply with quote

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

PostPosted: Thu Jul 17, 2025 12:42 am    Post subject: Reply with quote

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

PostPosted: Thu Jul 17, 2025 5:24 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Tips, Tricks and More All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: