HiQ doesn't execute scripts and command line commands

I am running HiQ pro 4.5 on Windows 2000 SP 2. Whenever I enter a command line command, e.g. "1+1", HiQ reports "no error reported" and doesn't execute the command. When I enter the same command again, HiQ tells me that a semicolon is missing.
When I try to execute a script, HiQ reports "Fatal Script error on line -1".
Anybody knows this behaviour and how to get HiQ running normally?

I do have the same problem.

Similar Messages

  • Why doesn't web address and google line show up on the top of page on my powerbook G4 laptop

    why doesn't web address and google line show up on top of the page on my powerbook G4 laptop

    Choose Show Toolbar or Customize Toolbar from the View menu and put it back.
    (103309)

  • Command line commands

    Is there any class in the default java SDK for executing command line commands? I've been looking in the API but have been unsuccessful so far.
    Thanks.

    when i execute the command, the process created goes for half a minute or so, but the java program just ends straight away.
    is there any way to keep the java program open as long as the process is still running?

  • Command line command for combine jpeg files into a pdf file

    I want to learn if we have any command line sentence to combine jpg files.
    normally from the windows explorer window
    i can select all jpg files and when i click on right button on the window they shows Combine supported files in acrobat and then i check if single file is selected and i clicked on combine files button.
    and then i put name of the file and press the save button.
    But i want to process this steps via command line commands.
    Can you show any answer to me.

    You don't say what version of Acrobat you are using, but I expect you could do it with Acrobat XI's Actions feature. Maybe even in 10.0. Since this is an enterprise deployment forum, I suggest you find a better forum and ask about Actions and Batch Processing.
    hth,
    Ben

  • Issue with variables and white space in powershell script that calls a command line command

    Guys,
    I have a question regarding this script. Each time I run it, it creates the share, but with a space after it. Also I need help figuring out how to put in the variable for the folder path.
    Below is the code
    $Users=Import-Csv C:\users2.csv
    foreach($User in $Users){
         $User.SNCORP
         $User.HPB
         $User
         cmd /c "net share "$User.SNCORP"=D:\Users\"$User.HPB" /grant:Everyone,FULL"
    The csv file looks like this
    HPB,SNCORP
    ccarter,carterch$
    This is my output in powershell
    PS C:\> .\shareflip.ps1
    carterch$
    ccarter
    HPB                                                         SNCORP
    ccarter                                                     carterch$
    The syntax of this command is:
    NET SHARE
    sharename
              sharename=drive:path [/GRANT:user,[READ | CHANGE | FULL]]
                                   [/USERS:number | /UNLIMITED]
                                   [/REMARK:"text"]
                                   [/CACHE:Manual | Documents| Programs | BranchCache | None]
              sharename [/USERS:number | /UNLIMITED]
                        [/REMARK:"text"]
                        [/CACHE:Manual | Documents | Programs | BranchCache | None]
              {sharename | devicename | drive:path} /DELETE
              sharename \\computername /DELETE
    Any help is greatly appreciated. 
    Christopher

    There is no need to use cmd /c. You should be able to use:
    net share "$($User.SNCORP)=D:\Users\$($User.HPB)" "/grant:Everyone,Full"
    Use showargs.exe (from the article) at the beginning of this line to see the command line PowerShell is actually running (very useful for troubleshooting).
    -- Bill Stewart [Bill_Stewart]

  • How we run command line commands in oracle

    Hi,
    In sql server i have an option "xp_cmdshell" i can run windows commands e.g "dir " using query analyzer.
    How can i do same thing in oracle
    Thanks in advance.
    Regards
    Faheem

    > MY SELECT:select OSexec('dir') as STDOUT from dual;
    ERROR:-1command[dir] The handle is invalid.
    In the sample code, I've executed a Linux/Unix program called date, physical file /usr/bin/date.
    Is there a DATE.EXE or a DIR.EXE program that you can execute on Windows?
    No. Both DATE and DIR are commands of a program - a 32bit console program called CMD.EXE.
    Your confusion stems from thinking that OSEXEC is calling the Windows shell command line. It is not. It is not calling CMD.EXE and passing Window Shell Commands to CMD.EXE.
    OSEXEC is calling, via Java, the Win32 API call called CreateProcess(). This is a call to the Win32 kernel. It requests the kernel to load an executable program as a process image.
    The kernel expects an EXE (or executable) file to load. You are passing it a command from a program. You just as well can pass it a Java command, a MS Access Basic Command, an Excel Macro, etc... Same thing. The kernel has no idea that this "command" needs another program to be loaded, and that command be "passed" somehow to that program.
    So, you need to call CMD.EXE via OSEXEC. And you can pass parameters to it. Open a Command Console and type cmd /? for help on the command line switches and parameters for CMD.EXE.
    I believe the following should work:
    SQL> select OSEXEC( 'c:\windows\system32\cmd.exe /c date /t') from dual;

  • Parsing commands from a command line, command-pattern?

    I'd like to create a command line where user type their commands and the application will invoke the appropriate action. There could be many commands with different arguments.
    example:
    FDA G 1033052
    XXLD TA 93843234 G 928322
    etc
    each command has different arguments and each command should perform a db task (it's long).
    Also, the commands can be undo (eg, if user clicks UNDO it will undo the last command)
    for this I realized I need to build the command pattern (hold a stack of all commands) but I'm still debating with some issues:
    1. What parser should I build in order to execute the command
    2. How should I encapsulate the commands in a way that will be easier to invoke, should I add all commands in the beginning to a map where the first argument will be the key and the value will be the class?
    Thank you
    Edited by: xianwinwin on Oct 29, 2009 2:22 AM

    xianwinwin wrote:
    I'd like to create a command line where user type their commands and the application will invoke the appropriate action. There could be many commands with different arguments.
    example:
    FDA G 1033052
    XXLD TA 93843234 G 928322
    Commands like that are going to be error prone for human users.
    etc
    each command has different arguments and each command should perform a db task (it's long).
    Also, the commands can be undo (eg, if user clicks UNDO it will undo the last command)
    for this I realized I need to build the command pattern (hold a stack of all commands) but I'm still debating with some issues:
    1. What parser should I build in order to execute the commandFor the posted examples the parser is trivial - break on space. Validation might be harder.
    2. How should I encapsulate the commands in a way that will be easier to invoke, should I add all commands in the beginning to a map where the first argument will be the key and the value will be the class? You are creating a language. How you interpret the language depends on the definition of the language and specifics of the implementation.
    You could certainly do it as you suggest but there are many other variations as well.

  • Set env using a script and run the command (dependency on the env)

    I need to set the env varaible by running a shell script with arguments as 'ksh setEnviron r6.1' and then run the command in the
    same process. the command has dependency on the previous script which sets the env variables.
    With Runtime.getRuntime().exec( cmd1); ,Runtime.getRuntime().exec( cmd2); I am not able to execute the Cmd2 as it is running in different process.
    How do solve this issue.
    Is there any other method to run the command to set env variables and run the second command.(dependent on the env) to get the output.
    Please help me out in this.

    ganesh_mak wrote:
    final String[] commands = {
                              ". setEnviron r6.1",
                                "/usr/add-on/test/Xbin/sql name from list where date.eq.05/22/08",
    Process penv = Runtime.getRuntime().exec("/bin/sh");
    BufferedReader br = new BufferedReader( new InputStreamReader( penv.getInputStream() ) );
    BufferedReader stdError = new BufferedReader(new InputStreamReader(penv.getErrorStream()));
    final OutputStream writer =  penv.getOutputStream();
    for (int i=0; i<commands.length;i++)
         writer.write(commands.getBytes("utf-8"));
         writer.write("\n".getBytes());
    String line;
    while((line = br.readLine())!=null){
    System.out.println(line);
    br.close();
    writer.close();
    I tried the above code but its not working...............
    please correct me.
    Do you think I used the '-i' argument just for fun? Did you do a 'man sh' and 'man bash' to see what the arguments do? If not then do it now.
    Do you think I used Theads to process stderr and stdout just for fun? I've shown you the basic approach. I have shown you how you need to create Threads to process stdout and stderr. If you have not understood and you have not studied http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html then do so now.
    Edited by: sabre150 on Jun 2, 2008 3:43 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Cron doesn't execute script until restarted

    I wrote a script to change my wallpaper, and placed it in /etc/cron.hourly.  It will not run on the hour, or any time, after starting my computer.  However, if I restart cron, then everything is fine.  run-parts indicates that it *should* run:
    ┌─[pearson@pearson-arch] - [~] - [Wed Apr 15, 06:33]
    └─[$]> sudo run-parts --test /etc/cron.hourly
    Password:
    /etc/cron.hourly/adjtime
    /etc/cron.hourly/rotate_background
    ┌─[pearson@pearson-arch] - [~] - [Wed Apr 15, 06:33]
    └─[$]>
    Just to make sure, cron *is* started on system boot.

    thisllub wrote:What does the cron log say?
    It doesn't mention it.
    thisllub wrote:Arch seems to use run-cron not run parts.
    Run-parts allows you to specify a certain folder to run; it has a --test option, which run-cron doesn't seem to have.
    thisllub wrote:Does the script have executable permissions?
    755, owned by root:root, which is the same as the other script in that folder (adjtime, which I think might be part of ntpd).
    thisllub wrote:If a script runs as root user it may not have access to your desktop variables (not sure about this)
    The odd thing is that it runs fine once I restart cron.  I was using /usr/bin/env in the hash-bang, though, so I've changed that, and I'll see if that changes anything.
    thisllub wrote:Does it work if you install it from you own crontab?
    I... don't really know how to do that yet.  I'll have to look it up and get back to you.

  • Unable to execute command line command in java

    I am trying to run a command to add a group name. It is executed in command prompt of Windows 2003/2000
    Say this is the command I want to execute:
    net localgroup LordSM /add
    Here LordSM is the group name.
    I wrote the following code but it does not seem to work. Please suggest.
    String ABC=Value1TextField.getText();
    Value2Label.setText("Value is now " + ABC);
    // Above is to get value from a JText Field
    // Below is the code to run command for adding a group name to a System.
    String ExecutedCmd = "net localgroup " + ABC + "/add";
    Process p = Runtime.getRuntime().exec(ExecutedCmd);
    BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
    BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getErrorStream()));
    // read the output from the command
    System.out.println("Here is the standard output of the command:\n");
    while ((s = stdInput.readLine()) != null)
    {                System.out.println(s);             }
    // read any errors from the attempted command
    System.out.println("Here is the standard error of the command (if any):\n");
    while ((s = stdError.readLine()) != null)
    {       System.out.println(s);           }

    It does not seem to work means, that no Standard Error is defined, when it executes and group name is not added as well. The following is JUnit Test Result: Hope it gives a better:
    compile:
    run:
    Here is the standard output of the command:
    Here is the standard error of the command (if any):
    The syntax of this command is:
    NET LOCALGROUP [groupname [/COMMENT:"text"]] [DOMAIN]
    groupname {ADD [/COMMENT:"text"] | /DELETE} [DOMAIN]
    groupname name [...] {ADD | /DELETE} [DOMAIN]
    Got it
    BUILD SUCCESSFUL (total time: 10 minutes 49 seconds)
    I had even tried this:
    Runtime rt =Runtime.getRuntime();
    String[] cmd = new String[3];
    cmd[0] = "cmd.exe";
    cmd[1]="net localgroup";
    cmd[2] =ABC + "/add";
    rt.exec(cmd);
    but again, it does not give any error as such, but it does not create the group name either. Please suggest. We can see the group names that are added on right clicking My Computer Icon and click Manage and then go to User & Group section. On executing either of the code nothing happens.
    Thanks

  • Unable to execute a command line command using Java

    I am trying to run a command to add a group name. It is executed in command prompt of Windows 2003/2000
    Say this is the command I want to execute:
    net localgroup LordSM /add
    Here LordSM is the group name.
    I wrote the following code but it does not seem to work. Please suggest.
    String ABC=Value1TextField.getText();
    Value2Label.setText("Value is now " + ABC);
    // Above is to get value from a JText Field
    // Below is the code to run command for adding a group name to a System.
    String ExecutedCmd = "net localgroup " + ABC + "/add";
    Process p = Runtime.getRuntime().exec(ExecutedCmd);
    BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
    BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getErrorStream()));
    // read the output from the command
    System.out.println("Here is the standard output of the command:\n");
    while ((s = stdInput.readLine()) != null)
    { System.out.println(s); }
    // read any errors from the attempted command
    System.out.println("Here is the standard error of the command (if any):\n");
    while ((s = stdError.readLine()) != null)
    { System.out.println(s); }
    I am trying to run a command to add a group name. It is executed in command prompt of Windows 2003/2000
    Say this is the command I want to execute:
    net localgroup LordSM /add
    Here LordSM is the group name.
    I wrote the following code but it does not seem to work. Please suggest.
    String ABC=Value1TextField.getText();
    Value2Label.setText("Value is now " + ABC);
    // Above is to get value from a JText Field
    // Below is the code to run command for adding a group name to a System.
    String ExecutedCmd = "net localgroup " + ABC + "/add";
    Process p = Runtime.getRuntime().exec(ExecutedCmd);
    BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
    BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getErrorStream()));
    // read the output from the command
    System.out.println("Here is the standard output of the command:\n");
    while ((s = stdInput.readLine()) != null)
    { System.out.println(s); }
    // read any errors from the attempted command
    System.out.println("Here is the standard error of the command (if any):\n");
    while ((s = stdError.readLine()) != null)
    { System.out.println(s); }
    It does not seem to work means, that no Standard Error is defined, when it executes and group name is not added as well. The following is JUnit Test Result: Hope it gives a better idea of the problem I am facing:
    compile:
    run:
    Here is the standard output of the command:
    Here is the standard error of the command (if any):
    The syntax of this command is:
    NET LOCALGROUP [groupname [/COMMENT:"text"]] [DOMAIN]
    groupname {ADD [/COMMENT:"text"] | /DELETE} [DOMAIN]
    groupname name [...] {ADD | /DELETE} [DOMAIN]
    Got it
    BUILD SUCCESSFUL (total time: 10 minutes 49 seconds)
    I had even tried this:
    Runtime rt =Runtime.getRuntime();
    String[] cmd = new String[3];
    cmd[0] = "cmd.exe";
    cmd[1]="net localgroup";
    cmd[2] =ABC + "/add";
    rt.exec(cmd);
    but again, it does not give any error as such, but it does not create the group name either. Please suggest. We can see the group names that are added on right clicking My Computer Icon and click Manage and then go to User & Group section. On executing either of the code nothing happens.
    Thanks

    Duplicate post:
    http://forum.java.sun.com/thread.jspa?threadID=5203526&messageID=9812067#9812067

  • What is the Unix command line command to reformat the internal 3 tera fusion drive in my 5k retina 27 iMac ?

    there seems to be problems with Yosemite and boot camp assistant
    i'm cross posting this to the iMac forum but I spent hours online with apple tech today and none of the several foks I talked to there had even seen a 5k 27" yet and my call back from Cupertino and engineering is no till tomorrow so I thought I should post here too
    MMy bto 5k shipped from China sunday night and arrived in Maine this morning.... Amazing when you think about it for a bto
    iinstallation and set up we're going fine and I started up boot camp assistant to create  a temp boot camp while I wait for my thunder bay 4 box to take the drives for my old Mac pro when boot camp will have a1 tera SSD all to itself....
    so carved off a 700 gig boot camp partition which the assistant formatted fat I then plugged is the lighting to FW adapter in a LaCie 2 tera fw 800 drive to act as a bridge to my LaCie DVD burner which uses the old fw400 cables and inserted my new shrink wrap win 8.1 retail 64 DVD and up comes the win 8 install in very tiny type in a tiny window which got a bit of a laugh out of me.
    And I go through it to the point of selecting that boot camp partition and then said it could not use a fat partition and I should reformat it from the win 8.1 installer which I did and then it said it could not use and unknown partition so I said great and booted back to 10-10 and the boot camp tool to put things back and it said it could not I then went to disk tools and it also said the  3tera fusion could not be either reformatted or put back to a single partition I was on with tech support where I went up through 4 levels of support due to the 5k bto which most had no knowledge of. We tried the optioncommand r to get to DT and the same problem as did going to reinstall from the net which after a 30 min down load could not reformat either it is now kicked to Cupertino with a call back tomorrow
    ( At this point all I want to do is put the computer back in the condition it was in when i started with a plain Yosemite on an unpartitioned 3 tera fusion... Then deal with boot camp when it can have its own drive)
    am betting it will take a Unix comand line to reformat but be aware there may be boot camp issues with my configuration
    and  any help here will be great fully received

    Try booting into Internet recovery mode, ⌘⌥R, launch Disk Utility to erase the HD. If successful, reinstall the OS. If not, then return it (14 days with no questions asked) and get another machine. Apple sells it and they should know how to fix it.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • Airport affect command line commands, such as telnet, route -v get, etc.

    I am experiencing a special problem when I both connect to internet through Airport and my private network through ethernet port.
    When Airport is connected to internet, I connect the ethernet port to an internal private network, where I did not set default gateway for this private connection.
    When I tried to "telnet" to an ip within the same subnet of the internal private network, there is none of any response. From wireshark capture, there is none of any packet sending out. But when I tried both "icmp ping" and "ftp", they both worked properly.
    Then I disconnect Airport and try "telnet" again, it then worked quickly.
    In addition, when I try to check the route to my destination, which is within the same subnet of my ethernet, I used "route -v get 192.168.133.219". Interestingly, when Airport was not connected, this command will output the route information quickly. However, when Airport was connected, this command will not have any output of the route.
    I have updated to the latest 10.5.8 release, but still have the same problem.
    Have you ever had experienced such problem? Normally how can I report bug like above to Apple?

    After properly configured VMware, this problem has been resolved.

  • Running command line commands through java

    How do I run other programs through Java and capture their output. E.g. If I want to capture output of 'ls *.txt' what do I do ? If you can paste some sample code or point me to some tutorial that would be cool.
    Thanks,

    I tried that
    Process proc = Runtime.getRunTime().exec("curl " + query);
    but now what. From the documentation I could see that
    public abstract OutputStream getOutputStream()
    might be helpful. But then which OutputStream class to use ? I am looking for a coding example. If you could paste it, that would be great.

  • ICal doesn't execute Automator Scripts

    Since I upgraded to Leopard my iCal doesn't execute scripts anymore. Normaly every day iCal executed a script to check for birthdays and send them a e-mail. Now I can't get this to work. No settings are changed as far I can see.
    Help!!! (I missed already a few birthdays... people hate me... ;-))

    Does it display any kind of error message? It may be that the location of the script has changed. It seems that iCal saves fixed paths to scripts and not aliases. This means that if the path to a script changes it won't run. Try to rename a script and then select it again in the event. You'll want to rename so that you can distinguish it from the previous script entry. iCal only displays the name of the script, not the path used by the alarm.

Maybe you are looking for

  • Can't delete iTunes Match music from Music app in iOS 6 Music app?!

    Totally insane - the ability to delete music downloaded from iTunes match has been removed from the iOS 6 Music app! No more "swipe left and delete". I can't find any way to delete music, in fact. Can someone please tell me this is a massive mistake

  • HT1551 holw do i get my phone to play on my apple tv?

    How do  I get my phone to play on Apple TV?

  • Wifi Antenna not as good as 3GS

    I've got a 3GS & 4 in my hands and 1 metre 10 feet from a router the 3GS shows full wifi signal strenth but the 4 only '2 bars'. The speedTest App shows that download/upload speeds are comparatively poor too. If I am 20 feet away then th e 4 loses co

  • Check lot Numbers length

    Hi friends, in check lot creation (FHCI) previosly we have created check lot with 5 digits (eg 12345) but, now we want to create with 6 digit  (eg 123456)...can anyone help for this issue With regards, Gopal Krishna

  • Exchange Infrastructure T-Spec

    Hi Xi Guru's! I need any technical specification in xi as i have done basic scenarios, I want know how the real time objects will be in Xi, could any one  send me the real time tasks spec or objects, So that it will be more help full to me to get acq