1.

Solve : RENAME DIRECTORY USING CLIPBOARD DATA?

Answer»
Hii everyone.

i hav seen all ur questions n answers.. all r very good answers.

now i need a HELP from u frnds.

i want to rename a folder from clipboard DATA.

suppose example. i copied a text "1-ABC123456", i want to create a folder with that name. 1-ABC123456.dir

(everytime name changes, so when i copy and run any batch program, it should create a folder with that text which i hav copied)

Thanks in advance frnds.

hope i get results soon

byebye


I'm having a difficult time visualizing what you want to do.

Batch code cannot interact with the clipboard which is a Windows component. Actually you'll need Internet Explorer to copy data to or paste data from the clipboard.

Quote
(everytime name changes, so when i copy and run any batch program, it should create a folder with that text which i hav copied)

How does 1-ABC123456 get on the clipboard? Is 1-ABC123456 a string? Does it represent text from a file? If it's simply a string, you can persist data in batch by using the environment space or the file system.

Need more details to be helpful.

Thanks for your reply..

but am really sorry.

1-ABC123456 is not any string nor anything. i just gave an example of folder name.

actually i have a list in online ...
1-ABC53452
1-ABC54567
1-ABC87452
1-ABC95457
1-ABC98665
1-ABC78934
1-ABC89034
1-ABC67893
....
....
...

(it goes approximately 1000 or above names i think)

so i have to create folders with each of the name from the above list. (above all are folder names not any special characters nor any string nor any codes.)

Create a folder in my desktop with a name from the above list.

for example if u take any name from the above list. 1-ABC53452 is a name,
with this name i have to create folder.

(and onemore thing we cant download all names at a time. each name comes one by one)

=> copy a name from online ..
=> and create a folder in LOCAL DRIVE with new name.
thats how GOING on.

i just wanna to know ...is there any shortcut by running any batch program

pls let me know.. if u still cant get it.

i will try to explain more detaeiledif this page online is plain with just that names you can use wget to download copy of site to a disk and then use for command


Discussion

No Comment Found