🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13034

Windows XP and file renaming

#13034
From: Colin Maharaj
Date: Fri, 31 Oct 2003 01:23
13 lines
1352 bytes
Hi all, 
I have a program that does an upgrade process via a ZIP file.
The first step is to rename the old files then create the new ones from
the ZIP file.

Problem is I am renaming an EXE file and there is a shortcut on the
desktop to this 
EXE file. The target gets renamed as well so that if I rename the file
from PROGRAM.EXE 
to PROGRAM.BCK (e.g.) the link on the desktop shortcut gets changed to
PROGRAM.BAK

Any suggestions on how to handle this?????
Technical Details
Message-ID: <3FA1B984.EB5BD73E@cablenett.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,cf488493a9c88657
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-30 17:39:15 PST
Message-ID: <3FA1B984.EB5BD73E@cablenett.net>
Date: Thu, 30 Oct 2003 21:23:16 -0400
From: Colin Maharaj <cbm@cablenett.net>
Reply-To: cbm@cablenett.net
X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Windows XP and file renaming
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 196.32.37.86
X-Trace: newsgroups.borland.com 1067563533 196.32.37.86 (30 Oct 2003 17:25:33 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail