Re: confused.

From: Roland Hall (nobody_at_nowhere)
Date: 10/20/04


Date: Tue, 19 Oct 2004 20:01:50 -0500


"justin ames" <justinames@mn.rr.com> wrote in message
news:e6hdd.175957$nA6.151566@twister.rdc-kc.rr.com...
:i recently wrote a script that gets a folder, seperates the basename and
: suffix of a file, joins them together, and then adds ".txt".
:
: the script works, so long as the output is to a msgbox or wscript.echo.
: however, it doesnt change the original file, which is what i want it to
do.
:
: what am i doing wrong, or, not doing?

You're not moving the file, which means renaming it.

-- 
Roland Hall
/* This information is distributed in the hope that it will be useful, but 
without any warranty; without even the implied warranty of merchantability 
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp


Relevant Pages

  • Re: MSXML2.XMLHTTP
    ... once, rather than line-by-line, no matter what buffering you use. ... script up to spit out every changed record and/or every 100th record, ... without even the implied warranty of merchantability ... Technet Script Center - http://www.microsoft.com/technet/scriptcenter/ ...
    (microsoft.public.inetserver.asp.general)
  • Re: Login Policy Script
    ... question about the possibilties of creating a script for our users when they ... the computer usage policy for the company. ... If the user hits cancel, it takes them right back out to the login screen. ... Roland Hall /* This information is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. ...
    (microsoft.public.scripting.wsh)
  • Re: How do I email a page without using a CGI script?
    ... Without using a CGI script, what must my settings be in the html? ... var iname=''; ... Put the DIV in the body wherever you want it on your page. ... without even the implied warranty of merchantability ...
    (microsoft.public.scripting.jscript)
  • Re: 2 Qs re JS scripting
    ... where the second window can be opened, via script, and then passed ... That can happen by submitting the form via script. ... Are you saying you don't see it with IE6 SP2? ... without even the implied warranty of merchantability ...
    (microsoft.public.scripting.jscript)
  • Re: File download
    ... I feed Active Directory by data from text file that I grab from web ... While the script for user data works flawlessly, ... > to use vbscript in WSH, ... without even the implied warranty of merchantability ...
    (microsoft.public.scripting.vbscript)