+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
Scripts Thread, I need vbs or batch file which can run number of .exe present within a folder. in Coding and Web Development; From your earlier post as an example, something like this: Code: @ echo off set /P _license file=License file path: ...
  1. #16

    Join Date
    Jul 2012
    Location
    Boerne Texas USA
    Posts
    41
    Thank Post
    0
    Thanked 9 Times in 9 Posts
    Rep Power
    5
    From your earlier post as an example, something like this:

    Code:
    @echo off
    set /P _license file=License file path:
    set /P _directory=New Test Install Directory:
    
    for /f %a in ('dir /s /b C:\Plugins\*.exe') do %a /qs C:\Test70.log /L "%_license file%" /d "%_directory%"
    
    IISRESET
    

  2. #17

    Join Date
    Apr 2013
    Posts
    29
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by jklight View Post
    From your earlier post as an example, something like this:

    Code:
    @echo off
    set /P _license file=License file path:
    set /P _directory=New Test Install Directory:
    
    for /f %a in ('dir /s /b C:\Plugins\*.exe') do %a /qs C:\Test70.log /L "%_license file%" /d "%_directory%"
    
    IISRESET
    
    After that code i am getting this error:

    Unable to determine the base application for the plugin in C:\
    Please contact Yardi Systems Customer Service.
    Click OK to Exit.

    can you please help me out?

  3. #18

    Join Date
    Apr 2013
    Posts
    29
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Can someone let me know what does this below script does?

    I am unable understand %temp%\abc.bat.


    dir /s /b C:\AMB| find "abc.exe" > %temp%\abc.bat
    call %temp%\abc.bat

  4. #19

    Join Date
    Apr 2013
    Posts
    29
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by asifm View Post
    Can someone let me know what does this below script does?

    I am unable understand %temp%\abc.bat.


    dir /s /b C:\AMB| find "abc.exe" > %temp%\abc.bat
    call %temp%\abc.bat
    Hi,

    The script is finding the exe and running also but not installating while it throws an error , unable to determine the setup version.

    when we run plugin.exe manully it also asks for the directory path where its base version setup is installed, we need to enter that path over thier and then click next to continue the setup, but while running script it is not inheriting the path which we set as directory /d "%_directory%"

    Can you please help me to correct this, or any other way where i can achieve this goal?

  5. #20

    Join Date
    Apr 2013
    Posts
    29
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by jklight View Post
    From your earlier post as an example, something like this:

    Code:
    @echo off
    set /P _license file=License file path:
    set /P _directory=New Test Install Directory:
    
    for /f %a in ('dir /s /b C:\Plugins\*.exe') do %a /qs C:\Test70.log /L "%_license file%" /d "%_directory%"
    
    IISRESET
    
    Can i get powershell script, similar to this script?
    Please help!

  6. #21
    JJanisch's Avatar
    Join Date
    Nov 2011
    Location
    Swindon
    Posts
    159
    Thank Post
    17
    Thanked 16 Times in 16 Posts
    Rep Power
    7
    Why dont you use the VBS script written above? Paste it into notepad and save it as .vbs, then just run that file as if it was a batch. No difference, just VBS is a better language!

    * And has already been written for you

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 7
    Last Post: 18th July 2012, 10:45 AM
  2. Replies: 14
    Last Post: 18th March 2012, 09:14 PM
  3. Replies: 4
    Last Post: 12th February 2012, 11:26 PM
  4. Need help with batch files please!
    By richrad_mills in forum Windows
    Replies: 13
    Last Post: 23rd June 2010, 07:24 PM
  5. Which do i need, Flash or Shockwave?
    By Quackers in forum Web Development
    Replies: 3
    Last Post: 28th June 2006, 04:55 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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