Is it possible to insert a welcome message in flash drive?

unbiased

Senior member
Nov 17, 2002
380
0
71
I wish to present a flash drive to my friend. Is it possible to insert a wecome message so that when she inserts the drive in the USB port, a welcome message should appear on the screen automatically with the text I have in mind?

Can you help Docs?

Thanks in advance!
 

MustISO

Lifer
Oct 9, 1999
11,927
12
81
You could use an Autorun.inf file to launch a webpage in a browser. That would probably be the easiest thing to do. Problem is many systems have auto-run disabled for security reasons.
 

unbiased

Senior member
Nov 17, 2002
380
0
71
You're not proposing to her with a usb flash drive are you?

KLin
Oh no,nothing so dramatic, just a caption to cover a nice photographic album contained in a flash drive. A USB drive physically appears a drab enough object for a gift but the pictures are priceless so wanted to make it something special. I am not a programmer but I posted on programming forum becasue I thought the right people who can tell me anything are here.

MustISO
So it appears I have to think of something else. Let me confess I don't even know how to use an Autorun.inf file to open a webpage in a browser. Will appreciate if you can share with me some readymade trick and spoonfeed me on how to use it.

Thanks a lot guys.
 

Red Squirrel

No Lifer
May 24, 2003
69,870
13,430
126
www.anyf.ca
Unfortunately autorun does not work for USB flash drives. You will simply just get the generic autorun box that windows produces. You could do it with a CD though, have it open some OpenGL applet with a message or something. Lookup autorun.inf and the parameters. (I forget myself how to do it, but it's pretty easy)

I think there IS a way to get autorun to work on a flash drive, but since it's off by default, you can't really depend on that unless you have access to the PC she will use so you can change it ahead of time.
 

natto fire

Diamond Member
Jan 4, 2000
7,117
10
76
you could have a batch file that the recipient would double click on (put it in the root directory alone) which could then display your message (by calling an exe that displays your message). You could also have a portable install of irfanview to open the pictures so she could have a decent photo viewer.
There is something built into windows 7 called iexpress that you can use to make the exe. You really wouldn't need the batch file in this case.