Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Temporary filenames

Posted on 2001-07-18
5
Medium Priority
?
248 Views
Last Modified: 2010-04-06
Does anyone know if there is an API call that would return a unique temporary filename for use in the windows temp dir?

Thanks

Jo
0
Comment
Question by:nnbbb09
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6293432
guessing not,

just create one and lookup,
if there already one exists before using this name

but maybe there is an api

meikl ;-)

0
 
LVL 2

Accepted Solution

by:
bugroger earned 300 total points
ID: 6293447
Hi,

Look at these functions:
 GetTempFilename, GetTempFileName32

GL
 Bug
0
 
LVL 3

Expert Comment

by:neostudio
ID: 6293847
Why not generating a string of 15 letters for example, name the file with this string, then after all just delete it ......

that solves it for me at least............

Bye..
0
 
LVL 3

Author Comment

by:nnbbb09
ID: 6294111

Thanks Bug.
Thanks for the URL Meikl.

Jo
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question