Very urgent..Can a batch file be executed from a button in application?

HI!
Please this is very urgent..
I want to know wheather it is possible to provide a button in an htmldb application,
that executes a batch(dos .bat file) file from a network location????
Thanks
Asit.
Message was edited by:
user459887

It will be possible to do that but I suggest you search the HTML DB Forum first and place your question there rather than in this forum .
Greg

Similar Messages

  • Can't batch files on network from bridge cs4

    Started having this problem a few weeks ago, up until then I have always been able to use Bridges Batch command to process images on our file server. Our file server runs Samba, and no user authentication is needed.
    If I use Bridge, and try to batch images that are on the server [Tools > Photoshop > Batch] then Photoshop gives me this error:
    "FatalError: General Photoshop error occurred. This functionality may not be available in this version of Photoshop. - <no additional information available>"
    But, if I run a batch from Photoshop [File > Automate > Batch] then I can process images on the server fine.
    I can use Bridge to batch to Photoshop if those images are on my desktop/local disk.
    So the error happens when Bridge tries to tell Photoshop which images to batch, if those files are on the file server. I've tried different files that have been created at different times (years) and from different machines but still the same error.
    Not sure what has caused it, maybe an Apple update or something. We've  had that issue in the past when Snow Leopard couldn't write to Samba  drives because of the UNIX file name thing, but Apple did get around to  patching that. Maybe it's Adobe's way of trying to get us to upgrade to CS5..
    System Specs:
    iMac
    OSX 10.6.4
    Intel Core 2 Duo 2.66 GHz,
    4GB DDR3 RAM
    320GB HD
    Adobe Design Premium CS4
    Bridge: 3.0.0.464
    Photoshop: 11.0.2

    If I use Bridge, and try to batch images that are on the server [Tools >
    Photoshop > Batch] then Photoshop gives me this error:
    "FatalError: General Photoshop error occurred. This functionality may not be
    available in this version of Photoshop. - <no additional information
    available>"
    Without knowing anything about working on a network this problem usually is
    solved after having refreshed the preferences for Bridge. Have you already
    tried that?
    Restart Bridge holding down alt key and from the menu choose reset
    preferences. This brings them back to default settings so any custom
    settings should be reset again to your own wishes.
    The 10.6.4. update gave me a lot of problems with CS5 that temporarily have
    been solved by disable OpenGL for CS5. This update might have caused also
    this problem for you but that is not a certainty...

  • Batch file to execute java code

    Hi,
    I need to write a batch file to execute a sequence of java applications.
    The problem i face is in addition to the usual libraries I am also using certain jar files i downloaded like the mail interface etc.
    When i just compile a java code using a simple batch file giving the path of the compiler and the java code, it fails citing not knowing the location if the packages.
    could anyone please let me know what i need to do. Is there like a skeleton that i might find somewhere for this operation

    dexterity wrote:
    Hi,
    I need to write a batch file to execute a sequence of java applications.
    The problem i face is in addition to the usual libraries I am also using certain jar files i downloaded like the mail interface etc.
    When i just compile a java code using a simple batch file giving the path of the compiler and the java code, it fails citing not knowing the location if the packages.
    could anyone please let me know what i need to do. Is there like a skeleton that i might find somewhere for this operationSet the classpath correctly at runtime.
    Why do you need the location of your compiler? Are you compiling or running? If you are compiling go look at Ant.

  • How to create Batch file to execute sql scripts

    Hi friends,  
          i want to create batch file to execute all my .sql scripts.
    I have all table ( all table scripts in single file ) ,Udds ( all udds in single file ) ,Stored procedures( separate file for each SPs ),Functions ( Separate file for each Functions ),Triggers and views scripts in .SQL file.   
    can anybody tell me how to create batch file for executing all these scripts in sql server ?.   
       while executing, it should ask Database name,server name, password. if these details are given then it should execute my all scripts in given database
    , if any error thrown then that error and procedure name alone have to move to separate log file..
    Please help me if this possible or any other easy way to do this..
    Thanks - Ravi

    Hi  Mate.
    can i save the below details in my batch file parmantly, so that i don't need to provide the details agains again in CMD while i execute this. Please help
    set /p SName=Server Name :
    set /p UName=User Name :
    set /p Pwd=Password :
    set /p DbName=Database Name
    If  i am providing the details before execution of this bat file it will throw error.

  • How to schedule the Batch file to run from task scheduler

    Hello Everyone,
    I have a batch file which kills the wscript.exe process, I am doing this manually, I need to schedule this batch file to run from task scheduler whenever the process wscript.exe reaches to specific numbers,  i.e if the wscript.exe process count in task
    manager reaches to 30,  the task schedular should execute this batch file,
    Is there a way to do so.
    dibu

    Hi,
    àI need to schedule
    this batch file to run from task scheduler whenever the process wscript.exe reaches to specific numbers.
    As I know, it will not help you to achieve this target via Scheduled Task. When configure Scheduled Task, there
    seems no Trigger option that help you specify this condition (process counts reaches to specific numbers) to trigger the batch file.
    You could consider that improve this batch file. Adding the
    Check function to the script will be a better option. For script issue, you can post it in the
    Official Scripting Guys Forum. I believe we will get a better assistance there.
    If any update, please feel free to let me know.
    Best regards,
    Justin Gu

  • Hi, I can not delete files Film / video from the desktop it wants my password I write but Ando I can not float to Trash

    Hi, I can not delete files Film / video from the desktop it wants my password I write but Ando I can not float to Trash

    This topic has a fix for that problem: Desktop to Trash Problem: "Finder wants...: Apple Support Communities
    OT

  • I can not receive files via bluetooth from other external devices

    I can not receive files via bluetooth from other external devices nokia, samsung and other than apple. I can send files to them but not receive. What is the problem?

    I sucessfully transfered files from my Nexus4 to MBP via Bluetooth
    1. Go to system preference and select Sharing.
    2. Check the Bluetooth sharing.
    3. Specify directory to which you want to recieve files from Blue tooth device.
    4. Turn Blue tooth off and make it on.
    Your MBP is now ready to recieve files from Andoriod phone.

  • How can I send files via Bluetook from my Tour to other phones?

    How can I send files via Bluetook from my Tour to other phones?
    I have even been able to pair to the other device, but I don't see the option to send/copy/move files through Bluetooth.
    I can only send my Address book via bluetooth.
    Please help!!

    Hi and Welcome to the Community!
    See this KB:
    KB05409 Transfer a file using Bluetooth technology between two BlackBerry smartphones
    Substitute, in the KB, the appropriate instructions for your other device in place of the KB section for the receiving device. Be aware that RIM only supports BT file transfer between BBs...with other devices is technically unsupported. But, it usually works, as long as the two devices are paired, trusted to each other, and each have all of the correct BT services enabled for the configuration of the other device.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Can't send files to CS5 from Lightroom

    For some reason I can't send files to CS5 from Lightroom 5 and have no idea why. It was never a problem before. I also am not able to open files in the Nik collections from Lightroom. Any ideas?

    While in LR5. I would either right click or go to the Photo tab > Edit in > Edit in photoshop CS5, or on one of the Nik collections plug ins. And absolutely nothing happens. I tried reinstalling SC5 and LR5 with the updates. And it still doesn't work. My OS is W7. I haven't tried updating Niks collection yet.
    I have no idea what to do from here.
    Kelly

  • HT1923 This article contains the only thing that worked for me.  I also had to sign out of iCloud and uninstall it.  Then I had to delete all files and folders from all of those applications that were under Program Files, Program Files x86, and Users.

    This article contains the only thing that worked for me.  I also had to sign out of iCloud and uninstall it.  Then I had to delete all files and folders from all of those applications that were under Program Files, Program Files x86, Program Data and Users.  My iPhone 4 will now sync with iTunes both in its USB-connected  mini dock and over Wi-Fi.  It's unfortunate (negligent programming on the part of Apple?) that the upgrade to iTunes 11 did not remove all of those files as part of the upgrade process. 

    I am having the same issue....Same address for years - same as USPS - I tried 5 times (3 macs and 2 iPhones) and now i have 5 CHARGES for 1.00 each on my credit card. I took the credit card info off so they don't charge me anymore. How can they charge me yet still not allow me to download free updates and say I have an invalid address? I'm sure I will spend weeks or months trying to get a credit out of these incompetent idiots.

  • URGENT:- Running a batch file from java program

    Author: pkanury
    I am trying to execute a batch file from my java program using RunTime and Process . It can execute any dos command except for a batch file. Can anyone throw
    some light ?? My code looks like this .....
    cmd = "command.com /c X:\\grits\\scripts\\test.bat"; Runtime rt = Runtime.getRuntime(); Process p = rt.exec(cmd);
    The weird part is that p.waitFor() returns a status of 0 implying that the cmd has been executed successfully. But that is not the case. And my batch file is as simple as - type "ADADA" > junk.txt
    Any help would be appreciated.

    I think it should work when you use a String[] array
    instead of a single String:
    String[] cmd = { "command.com", "/C", "D:\\batch\\do.bat" };
    Note: If the batchfile creates any output (i.e. files),
    they will be stored in the directory of the application
    which calls the batch file, not in d:\batch\...

  • Pass Passord Variable to a Batch File using Execute Process Task

    I have an FTP batch file that I want to execute using Execute Process Task. The content of the ftp (ftpscript.cmd) is as below:
    open ftpsite
    UserName
    Password
    ASCII
    get file  c:\temp\test.txt
    bye
    Using SSIS Execute process task, I was able to download data. I configured the Execute Process task as follows:
    Executable: ftp.exe
    Arguments: -s:"c:\temp\ftpscript.cmd"
    The above works fine. But the problem is that I don't want to store the password value in the batch file for security/policy reasons. Please, is there a way I can pass the password value to the ftp executable or the batch file at run time?
    I know how to get and store variables in SSIS but I don't know how to pass this kind of variable to the batch file just before execution.
    Any suggestions will be appreciated. Thanks.

    you can dynamically generate the source (CMD) for the FTP and delete after the execution. The password can be stored in a secure database for example, not 100 % secure, but the best you can do.
    Another option I did was an encrypted VBScript (also quite easy to open in plain text to some people).
    Finally it can be a binary e.g. an EXE with the FTP called as process in it.
    Arthur My Blog

  • Two questions: Executing batch files and executing a JAR on boot-up.

    I'm working with Windows XP and and currently I'm having a friend test this on Vista as well. I can't seem to find how to execute a batch file using Runtime.exec(). So far I've been passing the absolute pathname of the batch file as the argument to exec(), but it doens't seem to run, so I'm assuming there's another way.
    Second question, how do I get a JAR file to start running whenever the user turns on the PC?
    Thanks.

    I'm working with Windows XP and and currently I'm
    having a friend test this on Vista as well. I can't
    seem to find how to execute a batch file using
    Runtime.exec(). So far I've been passing the
    absolute pathname of the batch file as the argument
    to exec(), but it doens't seem to run, so I'm
    assuming there's another way.Are you using just Runtime.exec() or have you tried Runtime.getRuntime().exec()? If not, try that and see what happens.
    Second question, how do I get a JAR file to start
    running whenever the user turns on the PC?As far as I know, you can't do that programatically. You have to edit settings on your computer but I am not entirely sure.
    Thanks.

  • Calling Remote Batch File Using 'Execute Process Task'

    I have a remote batch file on machine B that I need to execute using 'Execute process task' control from a package on machine
    A.
    How can i achieve this...

    You also need to make sure you run the job using a domain account proxy http://www.mssqltips.com/sqlservertip/2163/running-a-ssis-package-from-sql-server-agent-using-a-proxy-account/
    Arthur
    MyBlog
    Twitter

  • Batch file not executing in BODS Job

    Hi friends,
    I have created a batch file to create a text file in a directory. I ran it manually and it worked fine i.e a txt file was created, However when I used the batch file in script in BODS job, It's not being executed.
    The script being used is as follows ( I have tried both, Both worked manually but not in Job, the job ran successfully without desired output )
    print(exec('C:\xxx\testdir.bat ','',0));
    exec('C:\xxx\testdir.bat ','',8);
    testdir.bat has the below txt code
    cd C:\xxx\yyy dir *.xml /b > dir.txt
    Thanks and Regards
    Anil

    What have you changed between
    However when I used the batch file in script in BODS job, It's not being executed
    and
    The Job was successfully executed but  an empty dir.txt was created with no files.

Maybe you are looking for

  • Mail & iChat won't launch - Please help

    Hey guys So I was trying to make a clone of a HD from another computer using Carbon Copy Cloner because I was going to wipe it out and install Tiger. I wanted to make a backup copy to my computer so I used Target Mode to bring my computer's HD to the

  • PRICING DETERMINATION WITHOUT CONDITION RECORD

    HI ALL, can anybody explain me when you creating one purchase order if there no condition record for this material (for an example info record) how the price can automatically picked up and sit into the net price field. What is big-pricing procedure

  • Error when sending a message in a group chat

    Me and my friends got this chat on skype that we've had for ages. Only problem is that after I was forced to change my password and got the new updates, my messages get an error message. This only happen sometimes, but it's fine if we create a new ch

  • Strange color

    Hi, I just started using Photoshop CC today, when I done the editing and save as jpg file (originaly it's RAW), the color looks the same as in the Photoshop, but when I send the jpg file to other people the color looks very blue, gray, when they send

  • Thesaurus Usage

    Hello, I am creating a scientific catalaguing web application using Oracle 10g. My customers want to control the user input by providing thesauri. For example: They want to enter the type of plant by selecting from a list. What they demand is the usa