|
-
Apr 27th, 2000, 04:47 AM
#1
Thread Starter
Hyperactive Member
How does one copy then rename a file, given a full path name typed in by the user (which includes the filename and extension)?
-
Apr 27th, 2000, 04:53 AM
#2
transcendental analytic
Filecopy for copying files and Name for renaming files.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Apr 27th, 2000, 02:36 PM
#3
Conquistador
or just use name::::
Code:
Name "c:\source.file" As "c:\newfolder\target.file"
ok?
-
Apr 28th, 2000, 12:13 PM
#4
Thread Starter
Hyperactive Member
I'm using random access to create a file which is created and edited at a default area, I then want the user to be able to name and save the file somewhere else by typing in the name of the file they want to save it as.
-
Apr 28th, 2000, 03:01 PM
#5
Conquistador
Code:
Dim File1, File2 As String
File1 = "c:\notepad.file"
File2 = inputbox("File Name?", "File")
Name File1 As File2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|