Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2010
    Posts
    474

    * LF help with simple batch script

    Hello WHT,

    Can someone be so kind and take a minute to advice what would be the batch file for

    open cmd
    in cmd enter "C:\aa\aaaaaa\aaa.exe\" htpp://aaaaa.com/MY-VARIABLE-RIGHT-HERE aaaaa

    Basically I would like to click on a file, a cmd prompts me to enter MY-VARIABLE, I input the variable click enter and the command line gets executed.

    Should be very simple

    Many thanks!
    How can you factor in VAT when comparing since you are subject to VAT on everything? Obviously purchases made outside the EU are not going to be collected with VAT, but are you not still responsible to pay it on your own? - Tim Flavin from "Hostigation.com"

  2. #2
    Join Date
    Dec 2011
    Location
    Montreal
    Posts
    431
    Quote Originally Posted by Kurikami View Post
    Basically I would like to click on a file, a cmd prompts me to enter MY-VARIABLE, I input the variable click enter and the command line gets executed.

    Should be very simple

    Many thanks!
    I'll try something like:

    Code:
        @echo off
    set /p cmdi="Enter command: " %=%
    start cmd.exe /k "%cmdi%" %this_dir%
    *cmdi* is our variable (must be a command).

    You save this in a Windows Batch File


    P.S. I hope I understood correctly your question.

    Regards
    Last edited by rowebca; 01-15-2014 at 12:40 PM.
    George B. | ROWEBCA
    Web Hosting Services & Server Management
    Skype : rowebca

  3. #3
    Join Date
    Jun 2010
    Posts
    474
    Many thanks Rowebca, I have created the file exactly like I wanted using your advice!
    How can you factor in VAT when comparing since you are subject to VAT on everything? Obviously purchases made outside the EU are not going to be collected with VAT, but are you not still responsible to pay it on your own? - Tim Flavin from "Hostigation.com"

Similar Threads

  1. Simple Batch Renaming?
    By bloodsport in forum Web Design and Content
    Replies: 6
    Last Post: 04-21-2007, 03:35 PM
  2. Batch upload script (via flash?)
    By marmoset01 in forum Programming Discussion
    Replies: 0
    Last Post: 02-20-2007, 12:23 PM
  3. VPN Batch Script
    By Sillysoft in forum Programming Discussion
    Replies: 0
    Last Post: 04-14-2005, 01:00 PM
  4. Batch script needed
    By Serverplan in forum Employment / Job Offers
    Replies: 1
    Last Post: 01-16-2004, 12:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •