Sometimes, I like to rename some files name into random string including letter and digits.
Thanks.
add a feature for random renaming
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: add a feature for random renaming
There's always scripting...
Could combine that with a while loop, maybe a chr() or two, and rename() and end up with your very own random renaming feature.rand()
Generates an integer random number.
Syntax: rand([low=0], [high=1])
low: [optional] the lowest value to return (default: 0)
high: [optional] the highest value to return (default: 1), should be same or higher than low
return: random number
Examples
echo rand(); //returns 0 or 1
echo rand(2, 4); //returns 2 or 3 or 4
echo rand(-1, 1); //returns -1 or 0 or 1
-
ramza__x
- Posts: 84
- Joined: 06 Oct 2007 02:21
- Location: Australia
Re: add a feature for random renaming
Code: Select all
(000000001, 999999999)Windows XP Pro (SP3) (x86)
1680x1050 Res /120 DPI, Acer Laptop
1680x1050 Res /120 DPI, Acer Laptop
XYplorer Beta Club