Topic "Run winmerge via Apply command"

Author Message
techie

Guest


Can't run winmerge with this command - winmerge just doesn't start. Without "start" prefix winmerge starts, but it unable to find temporary file.
Code:

═════════════════════════ Apply command ═══════════════════════════
 Enter command to process selected files
 start /wait winmerge ! !^!                                       
 Patterns: !! - exclamation mark; ! - file name
 !?prompt?default! - prompts user for parameter value
 !& - selected files list (quoted, space-delimited)
 Local command patterns: !^! - file name from local panel
────────────────────────────────────
 ( ) Remote command           (x) Local command
 [ ] Apply to directories     [ ] Execute recursively
 [ ] Show results in console
────────────────────────────────────
                         [ Ok ]  [ Cancel ]
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
techie wrote:
Can't run winmerge with this command - winmerge just doesn't start. Without "start" prefix winmerge starts, but it unable to find temporary file.

I'm not quite sure what are you tring to achieve. But in case you do: "start" is not a program, it is internal command of Window shell (cmd.exe). So you must run cmd.exe to interpret it. You do it like this:
Code:
cmd.exe /c start /wait winmerge ! !^!

_________________
Martin Prikryl
Lorand

Guest


I successfull started Winmerge with this command:
"C:\Program Files\WinMerge\WinMergeU.exe" "!^!" "!" (Local Command)

But after i save the modifications in remote file and close the WinMerge i lose the modifications.

Why?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Lorand wrote:
But after i save the modifications in remote file and close the WinMerge i lose the modifications.

This request is being tracked already.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License