Results 1 to 3 of 3
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Shell comand (6.0)

    how to shell this command in vba or vb:

    C:ConvertDoc.exe /S "D:MyFolderDoc1.DOC" /T "C:Results FolderDoc1.PDF" /F9 /C12 /M2 /V

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Shell comand (6.0)

    You must use two double quotes "" instead of one " within the command string for Shell:
    <code>
    Shell "C:ConvertDoc.exe /S ""D:MyFolderDoc1.DOC"" /T ""C:Results FolderDoc1.PDF"" /F9 /C12 /M2 /V"</code>

  3. #3
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Shell comand (6.0)

    WORK! Tks for explain "Quote..."

Posting Permissions

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