Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
file renamer
#11
wats wrong w/ name?
url=http://www.random-seed.net][Image: asylumsig.png][/url]
Reply
#12
Quote:wats wrong w/ name?
Nothing, stylin is just trying to save his face Tongue Big Grin
Reply
#13
Quote:wats wrong w/ name?
Sorry, you logged out of AIM b4 I could think to tell you this:

You are using:

NAME FileName.txt, NewFileName

And not:

NAME FileName.txt AS NewFileName

Correct? I dunno if they totaly took AS out, but the Wiki says it uses ,'s now....

:roll: :wink:
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#14
Quote:
xteraco Wrote:wats wrong w/ name?
Nothing, stylin is just trying to save his face Tongue Big Grin
The problem I have with NAME is the name. It should be RENAME, since that's what it does. I've just been optioning it out for so long I forgot existed. Smile
stylin:
Reply
#15
Quote:
Z!re Wrote:
xteraco Wrote:wats wrong w/ name?
Nothing, stylin is just trying to save his face Tongue Big Grin
The problem I have with NAME is the name. It should be RENAME, since that's what it does. I've just been optioning it out for so long I forgot existed. Smile

Code:
SUB RENAME (FILE1 AS STRING, FILE2 AS STRING)
    NAME FILE1, FILE2
END SUB

:roll:
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#16
Quote:
Code:
SUB RENAME (FILE1 AS STRING, FILE2 AS STRING)
    NAME FILE1, FILE2
END SUB

:roll:
Code:
#define RENAME(a,b) NAME a, b
Tongue
Reply
#17
Quote:.....
You are using:

NAME FileName.txt, NewFileName

And not:

NAME FileName.txt AS NewFileName
You guys keep forgetting Ratt's advice above about the AS.
*****
Reply
#18
Quote:
Rattrapmax6 Wrote:.....
You are using:

NAME FileName.txt, NewFileName

And not:

NAME FileName.txt AS NewFileName
You guys keep forgetting Ratt's advice above about the AS.
*****
Nope.. In QB you had to use AS, in FB there's no AS

Rattrap just has some english grammar problems, so his post is a bit hard to understand Tongue
Reply
#19
Quote:Rattrap just has some english grammar problems, so his post is a bit hard to understand Tongue
:lol: And the sad part is, I'm native english.... XD

Perhapse braking up the post was a bad idea, New version:

If you are using: Name "Filename.txt" AS "NewFilename.txt" : then that's incorrect,. Acording to FBWiki it needs to be: Name "Filename.txt", "NewFilename.txt" :..
:wink:

~~~~~
Better?

EDIT: Aye, I missed his code... nm
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#20
Quote:i'm tryin to make a program that takes all files in a givin directory, then renames them all... giving them a number, and leaving there extension in tact....

any help would be most appreciated Smile
After all the ammunition that you've been given,
were you finally able to put together something that worked?
*****
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)