Computer Hope
Microsoft => Microsoft DOS => Topic started by: lordoftheplat on March 21, 2007, 05:39:19 AM
-
i was wondering how do u make a file that is .png
that is empty
i want the name to be
Cursor0000.png
Cursor0001.png
Cursor0002.png
Cursor0003.png
Cursor0004.png
Cursor0005.png
Cursor0006.png
Cursor0008.png
Cursor0009.png
Cursor00010.png
-
Then in a batch file you can put:
@echo off
create>>"%userprofile%\desktop\Cursor0000.png"
create>>"%userprofile%\desktop\Cursor0001.png"
create>>"%userprofile%\desktop\Cursor0002.png"
create>>"%userprofile%\desktop\Cursor0003.png"
create>>"%userprofile%\desktop\Cursor0004.png"
create>>"%userprofile%\desktop\Cursor0005.png"
create>>"%userprofile%\desktop\Cursor0006.png"
create>>"%userprofile%\desktop\Cursor0007.png"
create>>"%userprofile%\desktop\Cursor0008.png"
create>>"%userprofile%\desktop\Cursor0009.png"
create>>"%userprofile%\desktop\Cursor00010.png"
exit
If you double click the .png file, it will say 'No preview available' because it is empty. Just right click the file and click edit and you should be in paint and you can do whatever you want with it.
Note: the 'create' is in the code because i needed something behind the '>>'.
-
lordoftheplat, may I make a suggestion regarding the image in your signature block? Your image is over 113.29KB. By merely pasting it into Paint and saving as a JPEG file, the file size drops to 20.7KB, or nearly 1/6 the file size of your current image. And, it will look exactly the same.
-
uh....
"create" isnt usable in ms-dos...
it doesnt exist
there is no such thing in sys32 which is called
"create.com"
-
Note: the 'create' is in the code because i needed something behind the '>>'.
Even if the 'create' was changed to 'cheese' you will still get 11 blank png files, lol
-
dont get you explain?
so it should start with
>>
-
ok i get it so the code can just start with >> cuz ms-dos doesnt allow you to
UNDERSTOOD!
-
lol
In this code [highlight]>>"%userprofile%\desktop\file.png"[/highlight]
[highlight]>>[/highlight] means it saves the file somewhere
[highlight]%userprofile%\desktop\ [/highlight]is the path of where the file is to be saved
[highlight]file.png[/highlight] is the filename and filetype to be saved as
You want a blank file so you can't put
[highlight]echo. "%userprofile%\desktop\file.png"[/highlight]
because it will create a line in the png file making it not work.
because 'create' or 'cheese' is not a recognized code, nothing happens and it creates a file (png) which has nothing in it.
Simple enough?
-
ok i get it so the code can just start with >> cuz ms-dos doesnt allow you to
UNDERSTOOD!
Thats why you save it as a BATCH FILE.........................and plz do what Soybean suggested to do.... ;)
-
ok wait wait i got another problem so now i have created the .png is there
a way where i can add and image into it with a batch file
eg. i have a file name
cursor.png
but i want 10 of those file
wif
Cursor0000.png
Cursor0001.png
Cursor0002.png
Cursor0003.png
Cursor0004.png
Cursor0005.png
Cursor0006.png
Cursor0008.png
Cursor0009.png
Cursor00010.png
[size=22]
btw IT IS AREADY JPEG and seriously it wont look the same the quality will drop
drasticly[/size]
-
So you want to have an image already in it?? Because that isn't possible.............
and also get rid of that scroll bar next to your image, suggest getting rid of the text above that DRAGON MAGE picture
-
[size=24]TOPIC CLOSED[/size]
-
to create empty file
copy nul newfile
-
Nope, it'll look just as good, see (20.1KB):
(http://i7.photobucket.com/albums/y256/farmpond/forums/dragmagebluecopy2.jpg)
-
soybean haha funny...ask anyone who have proper eyes they will say that has horrible graphics
-
Well, I still have "proper eyes" and I don't see a difference. I'd like to hear comments from others on this.
-
ok so u can post the two pictures in a maybe a forum art place and say compare their looks
-
They look the same to me...
I prefer the one without the goofy scrollbar.
-
Let's put'em right next to each other:
Yours
(http://i7.photobucket.com/albums/y256/farmpond/forums/dragmagebluecopy.jpg)
Mine
(http://i7.photobucket.com/albums/y256/farmpond/forums/dragmagebluecopy2.jpg)
Now, tell me how mine is worse than yours.
-
the bottom one is the one tat u converted and it is blur and its darker
-
They look the same to me.
the bottom one is the one tat u converted and it is blur
Where?
and its darker
Where?
-
lol no, the one soybean looks exactly the same as yours. Believe me, I checked...carefully...
-
ok u guys have very bad eye sight!
see the small guy with wings? THAT IS BLURED
and the words "dragon mage" is DARKENED OMGGGGGGG
-
what's this with the avatar argument? if the forum can restrict the size of avatar one can have, then problem solved.
-
lol u should know that all the sig's pic are not uploaded onto the server of computerhope but somewhere else....
-
Let's put'em right next to each other:
Yours
(http://i7.photobucket.com/albums/y256/farmpond/forums/dragmagebluecopy.jpg)
Mine
(http://i7.photobucket.com/albums/y256/farmpond/forums/dragmagebluecopy2.jpg)
Now, tell me how mine is worse than yours.
ok fine yours is slightly sharper than soybeans but honestly, I wouldn't care about it.
-
seems like u havnt heard of perfection before
-
Ok, you're sounding like one is perfect and clear and the other one is dull and boring and blurred. I don't see that on my monitor so perhaps it is the monitors you are using that are different. Just a thought.
-
hmm i wish i could change the comp lol
that might make me change my mind on changing the sig:)
-
you could probably get rid of 'I=' in your signature. Then the 'quote: Goofy Scrollbar' would go away. Then i don't really care what you do about your picture ;)
-
why does it matter?
-
why does it matter?
Are you on a dial-up connection?
-
no...why?
-
no...why?
Many are.
It would be much more courteous to them if they did not have to wait while a huge picture file is loaded.
People come here for advice, help, tips, - to learn something.
What does that picture file - not just once, but on every post - offer to them?
-
no...why?
Many are.
It would be much more courteous to them if they did not have to wait while a huge picture file is loaded.
People come here for advice, help, tips, - to learn something.
What does that picture file - not just once, but on every post - offer to them?
i suppose they could read the words and not look at the picture?
-
... if they did not have to wait while a huge picture file is loaded.
i suppose they could read the words and not look at the picture?
Read what I wrote again.
-
no...why?
Many are.
It would be much more courteous to them if they did not have to wait while a huge picture file is loaded.
People come here for advice, help, tips, - to learn something.
What does that picture file - not just once, but on every post - offer to them?
i suppose they could read the words and not look at the picture?
The page won't load anyone elses posts until the post it's downloading finishes. People on Dial-up would have to wait for your picture to load.