Reply to post

starting hyperionics by batch, error?

Author
aoz
User
  • Total Posts : 305
  • Scores: 0
  • Reward points: 0
  • Joined: 2010/11/22 17:14:33
  • Status: offline
2015/07/24 15:19:48 (permalink)
0

starting hyperionics by batch, error?

greg,
program works, but see attached
I am trying to start hypersnap 64 bit, from batch file, in my portable directory.
this batch file worked for the 32 bit.
 
but trying to run it for 64 bit, I get one of the xx00000  errors
 
IF I click on the program icon, it works
 
if I create a SHORTCUT, and run the SHORTCUT through tte batch, it works
 
any idea what I’m doing wrong?
 
makes no sense
 
thanks
nick
 
 
@echo off
rem Start /min "Hypersnap" "C:\PortableApps_Suite\PortableApps\HyperSnap 8\HprSnap8.exe" -open:"C:\PortableApps_Suite\PortableApps\HyperSnap 8\hSnap_OPening_Message.jpg"
cd \
Start /min "" "C:\PortableApps_Suite\PortableApps\HyperSnap 8\Hypersnap8_Portable_Startup_00aa_DEFAULT"

4 Replies Related Threads

    Admin
    Administrator
    • Total Posts : 275
    • Scores: 6
    • Reward points: 0
    • Joined: 2010/11/22 00:00:00
    • Location: USA
    • Status: offline
    Re: starting hyperionics by batch, error? 2015/07/24 17:38:06 (permalink)
    0
    I really don't know what happens there. What exactly is "Hypersnap8_Portable_Startup_00aa_DEFAULT" in your batch file? Is the line that starts with 
     
    open:
     
    a separate command, or is it only a continuation of the "rem" line?
     
    Greg
    aoz
    User
    • Total Posts : 305
    • Scores: 0
    • Reward points: 0
    • Joined: 2010/11/22 17:14:33
    • Status: offline
    Re: starting hyperionics by batch, error? 2015/07/25 07:51:06 (permalink)
    0
    sorry; I was experimenting in the batch.
    the line with .....default was pointing to the SHORTCUT
     
    HERE is the line that is supposed to start hypersnap and then open a jpg file.
    BUT, even if I try the SECOND line, without pointing, it gets screwed up (in 64 bit)
     
    HOWEVER, I just tried doing
    cd \
    cd windows
    cd system32
    at start of batch, and it MAY have fixed this.
    I have to test it more
     
    ORIGINAL line
    Start /min "Hypersnap" "C:\PortableApps_Suite\PortableApps\HyperSnap 8\HprSnap8.exe" -open:"C:\PortableApps_Suite\PortableApps\HyperSnap 8\hSnap_OPening_Message.jpg"
     
    Abbreviated line, no JPG opened
    Start /min "Hypersnap" "C:\PortableApps_Suite\PortableApps\HyperSnap 8\HprSnap8.exe"
    Admin
    Administrator
    • Total Posts : 275
    • Scores: 6
    • Reward points: 0
    • Joined: 2010/11/22 00:00:00
    • Location: USA
    • Status: offline
    Re: starting hyperionics by batch, error? 2015/07/25 08:26:48 (permalink)
    0
    I would skip the -open: part above, it's not necessary, and it's written incorrectly. The correct way to write an option with path name containing spaces would be:
     
    "-open:C:\PortableApps_Suite\PortableApps\HyperSnap 8\hSnap_OPening_Message.jpg"
     
    But as I said, -open: is not needed, so just use 
     
    Start /min "Hypersnap" "C:\PortableApps_Suite\PortableApps\HyperSnap 8\HprSnap8.exe" "C:\PortableApps_Suite\PortableApps\HyperSnap 8\hSnap_OPening_Message.jpg"
     
    Note that if run that way, HprSnap8.exe will still work using the settings in the registry, which are not easy to port to another computer. The portable way, which uses a local .ini file instead, could be:
     
    Start /min "Hypersnap" "C:\PortableApps_Suite\PortableApps\StartHS8.exe" "C:\PortableApps_Suite\PortableApps\HyperSnap 8\hSnap_OPening_Message.jpg"
     
    This one will store and read configuration from HS8.ini file found inside "HyperSnap 8" folder of your portable installation.
     
    Greg
    aoz
    User
    • Total Posts : 305
    • Scores: 0
    • Reward points: 0
    • Joined: 2010/11/22 17:14:33
    • Status: offline
    Re: starting hyperionics by batch, error? 2015/07/26 13:29:44 (permalink)
    0
    GOT it to work !
    I re-installed the hypersnap8 as portable, on the machine whre it was screwedup.
    THAT fixed it !
    now, the problem is that means it did something other than install to just the portable?
    because I had copied the p;ortable folder from another machine where this worked ....
    something either did not get copied correctly, OR something gets put some place else
    I will keep experimenting, but at least it is working
    any other feedback appreciated if you have a clue about what might have done this
    thank
    nick
     
    Jump to:
    © 2024 APG vNext Commercial Version 5.1