Re: Renaming a file in VB 6.0
From: Jim K (krusej_at_megsinet.net)
Date: 10/15/04
- Next message: Bob Butler: "Re: Is it possible to pass a null array?"
- Previous message: U-CDK_CHARLES\\Charles: "Is it possible to pass a null array?"
- In reply to: Peri: "Renaming a file in VB 6.0"
- Next in thread: Peri: "Re: Renaming a file in VB 6.0"
- Reply: Peri: "Re: Renaming a file in VB 6.0"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 15 Oct 2004 07:45:55 -0500
Try Name "E:\PeriNew.log" as "Peri.Log"
"Peri" <lperi@CSPL.com> wrote in message
news:eqnEXDrsEHA.3324@TK2MSFTNGP15.phx.gbl...
> Hi,
>
> I am trying to rename a file using VB 6.0. The command I am tried using
are:
>
> Call Shell("Ren E:\PeriNew.log Peri.log", vbHide)
> or
> Call Shell("Rename E:\PeriNew.log Peri.log", vbHide)
> or
> Call Shell("Rename E:\PeriNew.log Peri.log")
> or
> Call Shell("Ren E:\PeriNew.log Peri.log")
>
> This is to change the name PeriNew.log to Peri.log. But I am getting a
error
> called "File not found - 53". But If I run the same command in command
> prompt it is excuting fine...
>
> Can anyone help me out
>
> Thanks and Regards,
>
> Peri
>
>
- Next message: Bob Butler: "Re: Is it possible to pass a null array?"
- Previous message: U-CDK_CHARLES\\Charles: "Is it possible to pass a null array?"
- In reply to: Peri: "Renaming a file in VB 6.0"
- Next in thread: Peri: "Re: Renaming a file in VB 6.0"
- Reply: Peri: "Re: Renaming a file in VB 6.0"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|