Sign in to follow this  
Followers 0
rvictor

Problem with "| more"

3 posts in this topic

I'm new at AutoIt and am trying to send the following to the DOS command line using the run command as follows:

Run("c:\windows\exiftool.exe -k -G d:\exiftool\*.* | more")

Can't get the "| more" to work properly. I've tried various combinations of single and double quotes as well as using chr(124) instead of the "|" character, all without any success. Also tried the following format which works in a batch file

c:\windows\exiftool.exe -k -G d:\exiftool\*.*%"% | MORE %"%

I did a forum search for "more" and "pipe" and didn't find the answer. Probably something simple that I'm missing, but haven't been able to find it.

Would appreciate your help!

Thanks.

Dick

Share this post


Link to post
Share on other sites



try

Run(@ComSpec & " /c " & 'c:\windows\exiftool.exe -k -G d:\exiftool\*.* | more')
Terrific! Thanks very much.

Dick

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0