Vbscript, wsh or batch? Unsure which will work.

I've been trying to find something for a solution and the more I look the more confused I get.
I tried a batch file, but can't get what I want.
I need to map a temporary drive, open internet explorer with a specific folder\html file, allow user to browse opened link, close browser and then unmap temp drive. I could put the pause in the batch file, but if user closed cmd window it wouldn't unmap
drive.
Running Windows 7 with IE10
Ex:
pushd \\server7\cmd_test
c:\cmd_test\index.htm
pause
popd
If user closes the command window then drive doesn't get unmapped. I tried the unc link in path, but it wouldn't work.
I've looked at powershell, wsh and vbs, but can't seem to find a combo that would work. Probably all syntax error, but I'm not sure.
Thanx for any help - Dean

There is no way that I know of to wait on IE in a batch file.
The easiest thing is to us an HTA and map the drive in teh HTA.
Why do you think you need to map the drive?  THat is kind of old Windows 98 thinking. 
just run the file from the path.
\\server7\cmd_test\index.htm
This way you do not need to wait for the program to close.  No mapping...no need to wait.
¯\_(ツ)_/¯

Similar Messages

  • Need a solution to create BOM which will work for all Component category

    Hi All,
    I want to create BOM.
    I am using LSMW (std batch input program RCSBI010).
    After execution I came to know that it will not work for if Item category (STPO-POSTP) = 'D' (Document).
    Can Anyone tell me Is there any way to create Material BOm which will work for all kinds of component(Item)Category.
    Below are the diffnt types of Item Category:
    ICt Item category text         
    A   Alloy Item                 
    D   Document item              
    I   PM structure element       
    K   Class item                 
    L   Stock item                 
    M   Phantom material           
    N   Non-stock item             
    R   Variable-size item         
    T   Text item                  
    X   Coded, Non-Stock Item

    Dear Amit,
    1.Is the production BOM containing all these item categories?
    2.It seems there are some additonal item categories apart from standard item categories(A Alloy Item ,M Phantom material ,
    X Coded, Non-Stock Item) for which you have to identify for which fields the value will be populated.
    3.In my understanding it's possible through a BDC recording through T.code SHDB and befor this activity discuss the same with
    your ABAP consultant as it involves some text items too.
    check and revert back.
    Regards
    Mangalraj.S

  • Is there a way to get the calculator from the dashboard to appear along with other programs?  Can anyone recommend a calculator which will work as a stand alone app?

    AS it stands now, in order to use the calculator that comes with the Dashboard, you cannot read from a list of numbers in, lets say, word or excel. The dashboard is full screen and nothing can stand along side it. Is there a way to get the calculator from the dashboard to appear along with other programs?  Can anyone recommend a calculator which will work as a stand alone app?

    there is one, just search with spotlight "Calculator".
    It works great!
    Hope this helps.

  • How To Add scrollbar in Spark list which will work on mouse movement ?

    Hi,
    I want to add scrollbar in Spark list which will work on mouse movement, i.e instead scrolling down it will sense mouse position and scroll automatically. I could not find a way to handle this with horizontalLayout.
    I tried hovering on list and setting ensureIndexIsVisible(index) but hovering element index is not present in the Spark List.
    Any idea on this will be highly appreciated.
    Thanks in advance
    Avishek

    Hi,
    I want to add scrollbar in Spark list which will work on mouse movement, i.e instead scrolling down it will sense mouse position and scroll automatically. I could not find a way to handle this with horizontalLayout.
    I tried hovering on list and setting ensureIndexIsVisible(index) but hovering element index is not present in the Spark List.
    Any idea on this will be highly appreciated.
    Thanks in advance
    Avishek

  • HT201401 Speakers will not work after updating iPhone 4 to iOS.  Apple Store said there are no speakers available which will work with the iOS6.  Does anyone know where to get speakers which will work with iOS6?

    After updating my iPhone4 to iOS6 my speakers do not work.  The Apple store after troubleshooting said that none of the speakers they sell will work with iOS6.  Does anyone have any suggestions for obtaining speakers which will work with iOS6?

    That's a bunch of hogwash.  My 4S is running iOS 6 and works with all my external speakers, both at home and at work.

  • HT204291 if i have a mid 2009 mac book pro and an apple tv that is the latest one. i can not mirror the mac book on my tv.  is it the fact that my computer is a little older than 2011 models which will work.  any info is greatly appreciated

    f i have a mid 2009 mac book pro and an apple tv that is the latest one. i can not mirror the mac book on my tv.  is it the fact that my computer is a little older than 2011 models which will work.  any info is greatly appreciated
    chuck schick

    Yes. You need 2011 or later in order to mirror as it requires the newer processor. The alternative is airparrot, which does it via software.

  • Are there any new HP Printers which will work on the new Airport Extreme?

    Has anyone had luck connecting an HP printer to the new 802.11N network? We have an older one which will not connect. THANKS!

    My Laserjet 1300 does not work over USB and the Gigabit 802.11 AE base. There seems to be something wrong with Laserjets and USB hookups.
    We're not getting answers from anybody. Could someone from Apple please investigate this and give us an answer?

  • How do I determine which applications I have which will work with OSX Yosemite?

    I am Currently running OSX 10.6.8, and am considering upgrading to OSX Yosemite.  I would like to know how to determine which applications I have which will not work with OSX Yosemite? 

    Click here and check the table.
    (123205)

  • Actiontec MI424WR revisions -- which will work and why?

    I ordered Verizon FiOS tonight, and during the checkout, it told me I needed specifically an Actiontec MI424WR revision I router.  The person I chatted with during the order told me only Rev I would work as well.  Regardless, will other revisions of the router work?  I'm looking on eBay and there are plenty of older revisions that are cheaper.  I'm ok with a Wireless G router since I'm only ordering 15/5 anyway.  If other revisions will not work, what's so special or new about Rev I?
    Thanks!
    Chris
    Solved!
    Go to Solution.

    quantumburnz wrote:
    I'm getting internet only, 15 down and 5 up, no TV.
    So any revision will work then?  Rev D, F, etc.?
    Yes

  • PCMCIA Card Readers? Which will work?

    I'm considering getting a PCMCIA card reader for my camera's SD cards and possibly other memory cards, to use with a Wallstreet using OS 9 and/or a PB 1400 using 8.6. (I don't have the thingy to use a PC card in a 520c!)
    Will anything work, or only certain ones? What would you folks recommend?

    For your information, I am using two SanDisk devices:
    One is the 6-in-1 PC Card Adapter (until now only tested with a 16 MB SmartMedia card), which works fine in a PB 190cs and a PB 5300c. A minimal System 7.5.3 on the SmartMedia card will even boot both these computers (Command + Option + Shift + Delete to bypass the system on the internal hard disk).
    The other one is a CompactFlash PC Card Adapter, which functions equally well in the aforementioned PowerBooks. The CF card, too, can be used as a startup disk. A CompactFlash card in the CF adapter is even recognised by an old Model M2864 V1/B PowerBook PCMCIA Expansion Module in a PB 540, albeit not as a bootable disk. Said expansion module had difficulties with the SmartMedia card in the 6-in-1 adapter, though. Things may be a bit different with another memory card, or with a M2864 V1/C expansion cage (I have access to that module as well, but have not carried out the tests).
    Jan

  • Is there an iPod touch model which will work with a video projector via an HDMI cable?

    I want to use an iPod touch to use an app called iSing Worship in our church. This app plays worship songs and enables the lyrics to be projected on a screen using a video projector. Is this possible and if so, which model iPod touch will I need to purchase?

    - If that app supports TV out,the app description will say, then you need a 4G or later iPod and the HDMI/Digital adopter cable. You can also use and Apple TV abd Airplay to the Apple TV
    - If the app does not suport TV out then you need a 5G iPod since the 5G will mirror the iPpd's screen, Yu then need
    - Via Airplay to an Apple TV.
    or this cable.
    - http://store.apple.com/us/product/MD826ZM/A/lightning-digital-av-adapter?fnode=3 a

  • Is there a 'to do list' app which will work with my iphone and on my mac??

    Hi It's all in the title.
    I have an app called 'Done', but I also want to use it on my mac and then sync it to my iphone and I can't find the mac version of the program (prob cos it doesn't exist).
    Any ideas?
    Thanks

    Things and OmniFocus both have desktop/phone clients. (not cheap options)
    Appigo's ToDo I think will sync with Remember the Milk, and there may be a desktop client that will also sync with RtM. I think Appigo may also sync with to-dos in iCal.
    Zenbe Lists also has a phone/web client.
    Try googling "sync to do iphone" or somesuch, and it will cover your options. As Michael said, nothing is built in by Apple, which means they are all annoying compromises that require setup.
    Me, I'm waiting on The Hit List's iPhone client and hoping it does MobileMe sync.

  • How do I burn a slide show to a DVD which will work with my DVD player?

    I've been able to create a slide show of photos with selected i-Tunes music.  I can create a file and burn it to a blank DVD R, but both a regular and Blu-Ray DVD players say the disk is incompatible.
    Also, is there supposed to be a file under Events where you can keep other slide shows?

    You need a video DVD authoring application like iDVD. Export the slideshow out of iPhoto as a QT movie file via the Export button in the lower toolbar.  For iPhoto 9.4.3 and earlier select Size = Medium or Large. For iPhoto 9.5 and later selct 480p.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best quality video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process.
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    If iDVD was not preinstalled on your Mac you'll have to obtain it by purchasing a copy of the iLife 09 disk from a 3rd party retailer like Amazon.com: ilife 09: Software or eBay.com.  Why, because iDVD (and iWeb) was discontinued by Apple over a year ago.
    Why iLife 09 instead of 11?
    If you have to purchase an iLife disc in order to obtain the iDVD application remember that the iLife 11 disc only provides  themes from iDVD 5-7.  The Software Update no longer installs the earlier themes when starting from the iLIfe 11 disk nor do any of the iDVD 7 updaters available from the Apple Downloads website contain them.
    Currently the only sure fire way to get all themes is to start with the iLife 09 disc:
    This shows the iDVD contents in the iLife 09 disc via Pacifist:
    You then can upgrade from iDVD 7.0.3 to iDVD 7.1.2 via the updaters at the Apple Downloads webpage.
    NOTE: there are other video DVD authoring apps available thru the App Store.  However, they do not have the themes and professional appearance that iDVD provides. 

  • Exact configuration of perl, DBD::mysql,DBI,gcc which will work

    Hi,
    I am trying to install all these modules on solaris 10 and there were lot of compilation problems.Nothing got well as also may be I am very new to this solaris world.
    Can you just tell me exact versions of DBD,DBI,perl and any gcc required on solaris 10(x86) so that i can reinstall it. I am ready to start from scratch. But this is very annoying.
    I would be very thankful if you help me out.

    Hi,
    I am trying to install all these modules on solaris 10 and there were lot of compilation problems.Nothing got well as also may be I am very new to this solaris world.
    Can you just tell me exact versions of DBD,DBI,perl and any gcc required on solaris 10(x86) so that i can reinstall it. I am ready to start from scratch. But this is very annoying.
    I would be very thankful if you help me out.

  • External or Internal Library - which will work best to convert A2 to A3

    My A2 library of ~100GB currently sits on an external FW drive that has about 250GB free. When I convert it to A3, should I leave the library on the external drive and convert it there, or would it be better to move the libraty to an internal drive on either my iMac or MBP?
    I have a 2006 20" iMac with 3GB of RAM and a 2009 15" MBP with 4GB of RAM, so if converting from internal is preferred, I'm guessing the MBP would be the better choice.

    There are so many people reporting import or conversion problem I would make a backup Library on another drive and isolate the original. Then I would move Aperture 2 into a folder called OldAperture and take it out of the Applications folder to another location. Then I would install and try Aperture 3 on the duplicate library. If all goes well then great, but if problems arise you can unwind the deal.

Maybe you are looking for

  • IPhone 4s email sending no longer works after installing ios7

    Installed ios7 on my iPhone 4s and now email is completely fouled up. I have deleted all accounts and reset them, have turned off and restarted my phone severeal times, Oddly enough I can receive email, but when I try to answer I get the message "Can

  • Help event handling

    import javax.swing.*; import java.awt.*; import java.awt.event.*; public class DemoWindow extends JFrame      private final int WIDTH = 200, HEIGHT = 200;      public DemoWindow() {           //set title           setTitle( "Event-Handling Demostrati

  • Storage bin should display in MB52

    Hi All,     Storage bin should display in MB52  T-code warehouse stock dispaly, Please guide me how it possible... Regards Hari

  • Multiple sequence view to the same batch

    Dear All, When I use Batch model of two stations I would like to have two sequences view as I get two executions view or two reports view. The main gold is to have for each Socket three tabsequence view\Execution view\Report view. Tnx

  • Portrait page orientation - ibook author

    How can I make protrait (vertical) orientaton template in iBook Author? For my design I dont need landscape (horisontal) orientation at all.