+ Reply to Thread
Results 1 to 2 of 2

Thread: Use installutil with space in the path

  1. #1
    ryanlcs is offline VB.NET Forum Newbie ryanlcs is on a distinguished programming path ahead
    .NET Framework
    .NET 1.1 (VS 2003)
    Join Date
    Apr 2008
    Posts
    9
    Reputation
    0

    Default Use installutil with space in the path

    Hi

    How can I install a window service with the following:
    I got this in a batch file:

    Statement 1
    c:
    cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
    InstallUtil C:\APP Code\Service.exe
    pause

    But if failed cos there is a space between APP and Code. However if I change to this, it works:

    Stetement 2
    c:
    cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
    InstallUtil C:\APP_Code\Service.exe
    pause

    How to make the first statement work?

    Thanks

  2. #2
    Robert_Zenz's Avatar
    Robert_Zenz is offline VB.NET Forum Idol Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET
    .NET Framework
    .NET 2.0
    Join Date
    Jun 2008
    Location
    Vienna, Austria
    Age
    23
    Posts
    503
    Reputation
    295

    Default

    Code:
    InstallUtil "C:\APP Code\Service.exe"
    Bobby
    Don't give TypeCasting Errors a chance, turn ON Option Strict!
    Greatest Obfuscator ever: EazFuscator (Freeware)
    Greatest Reflection Tool ever: .NET Reflector (Freeware) with Add-Ins
    Greatest Introspection Tool ever: Gendarme (GPL)
    Greatest MySQL FrontEnd ever: MySQL-Front (Shareware), HeidiSQL (GPL)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Bookmarks

Posting Permissions

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