Newsgroups: microsoft.public.scripting.vbscript
From: "Pegasus [MVP]" <n...@microsoft.com>
Date: Fri, 6 Nov 2009 21:36:45 +0100
Local: Fri, Nov 6 2009 8:36 pm
Subject: Re: Run Command Line
news:31de4b06-1a71-4756-b9eb-52794feb3da6@r5g2000yqb.googlegroups.com...
> Hello, You're not really doing this in VB Script - you're shelling out to a console > I am trying to run a vbs file on my server that appends a few mp3 > I can do this from the command line without out any problems: > copy /b D:\Sites\www\applications\recorder\file1.mp3 + D:\Sites\www > When I try this in a vbs file or asp file it just hangs in asp and in > Dim oShell, sCommand > Any ideas on what I could be doing wrong? > Thanks > James session and you then have the usual problems with placing the correct number double-quotes around your file names. A cleaner solution would be to do the whole lot with VB Script commands, e.g. like so: sName1 = "D:\Sites\www\applications\recorder\file1.mp3" By the way - are you sure that you can append .mp3 files to each other like You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||