Command Line Compare |
Post Reply ![]() |
Author | |
Bob Watson ![]() Groupie ![]() Joined: 08-July-2014 Points: 6 |
![]() ![]() ![]() ![]() ![]() Posted: 20-November-2014 at 11:32am |
Trying to run a command line compare using the following:
FormsTool.exe /COMPARE /MODULE1="N:\SHARED\DDS1\Software Repository\BASELINE\R007V260\source\dds_fusersetup.fmb" /MODULE2="N:\SHARED\DDS1\Software Repository\BASELINE\R007V265\source\dds_fusersetup.fmb" /PROP="All Properties" /showunchanged When the command comes back I get the following error:exception message : Invalid parameter: ▸ Old file does not exist ▸ New file does not exist. I have checked numerous times and the path to the file exists.
|
|
Bob
|
|
![]() |
|
administrator ![]() Admin Group ![]() Stefan Mueller Joined: 25-January-2003 Location: New Zealand Points: 1049 |
![]() ![]() ![]() ![]() ![]() |
Bob,
The command line looks correct - i only changed the filenames to some moduls i have on my computer and that exact command line of yours works. There are 3 scenarios that i can think of that could cause a problem: 1.) some networkshares only initialize and have access to the files once you access them from within file explorer. I sometimes run into this problem with one of the FTP programs i use (FileZilla FTP Client). it launches from the same directory that i last accessed when i closed the program .. but if this is a network share that i haven't accessed yet before starting the FTP program then this will fail. 2.) Where do you call FormsTool from? ... from a cmd/bat file? .. or from within an executable? Executables sometimes require two double quotes instead of just one. 3.) The filenames are indeed incorrect - i checked my code and i really only raise this exception message if i can't access the files, so they are definitely not accessible (false location or access-credentials). Regards,
Stefan |
|
![]() |
|
Bob Watson ![]() Groupie ![]() Joined: 08-July-2014 Points: 6 |
![]() ![]() ![]() ![]() ![]() |
I have checked the file names several times and they are correct.
![]() |
|
Bob
|
|
![]() |
|
administrator ![]() Admin Group ![]() Stefan Mueller Joined: 25-January-2003 Location: New Zealand Points: 1049 |
![]() ![]() ![]() ![]() ![]() |
Dear Bob,
i am sorry - i still don't see where the problem can be - my code looks pretty solid. I am just about to release a new build next week and will add some conditional debug code in the compare commandline that hopefully gives us some more information about what's going wrong! Regards, Stefan
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |