Delphi gettempfilename GetRandomFileName does not guarantee a unique file name. However the application is going to support both Windows 2008 and Azure. it plays the file great, I just need a way of making it loop or repeat any help would be greatly appreciated. 3. Commented May 23, 2017 at 18:11. Hooo, in englisch klingt dat ja gleich viel hochtrabender Also, ich besorge mir derzeit ja eine Temp Datei mit folgendem Code, allerdings kann man GetTempFileName ja nur ein Präfix (max. But the approach given by Mason is probably better, for it will support Unicode file names. Функции и пpоцедуpы Windows пеpечисляются и описываются в алфавитном поpядке. See Also CreateFile, GetTempPath. 3 No they do not get deleted automatically. : Microsoft MSDN Links: System. See Also SizeOf an array of Chars was the same as the Length for Delphi before 2009, because SizeOf(AnsiChar) = 1. Generates a unique temporary file. GetTempFileName class function GetTempFileName: string; static; unit. Applications can obtain unique file and path names for temporary files by using the GetTempFileName and GetTempPath2 functions. Console. GetTempFileName method, which guarantees that the temporary filename it generates will be unique. GetTempFileName replies "The directory name is invalid" 2. All about Borland Delphi. In order to create a file that will be deleted automatically when it is closed, pass FILE_FLAG_DELETE_ON_CLOSE to CreateFile. This would not normally be a problem, but for some reason the user in question did not have I have associated the ". They are created in the windows temp Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers; Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand; OverflowAI GenAI features for Teams; OverflowAPI Train & fine-tune LLMs; Labs The future of collective knowledge sharing; About the company I need to generate the unique temporary filenames in my application using c++ (WINRT/Metro). For simplicity we To make this compile, open the project options (Project > Options, or Shift + Ctrl + F11). Delphi doesn't use #0 terminators in strings. Checks whether a given file name contains I am working with an API that provides me with the URL of a file and I wish to download the file to file or stream using Delphi XE. In fact, a zero -size file is created in the GetTempFileName() may create an actual file, yes. file_5" extension with my application and I used the ParamStr(1) function in Delphi to show a messagebox that contains the path & file name of the file when I double click on it in explorer using the code below. Embarcadero Technologies does not currently have any additional information. If uUnique is not zero, you must create the file yourself. Thus, other processes will not return the same file name, and this solves the [race condition]. In Delphi 11, with necessary permission set (either programmatically or on the device), TDirectory. Delete(tempFile); this code deleting temp file. TMP extension in the temporary directory. Call GetGUIDFileName to generate a new GUID suitable as a unique name for a file or directory. You have to use System. FileName:= TPath. GetRandomFileName generate a unique filename every single time? Also, what about Path. It’s useful when your application is using temporary files and you want to save them into default Accessing and changing Directories and Files in Delphi. You can either use the EXE in there (if the license permits it) or find someone with Delphi or Borland C++ Builder to create the DLL for you. New Delphi versions provide TDirectory, TFile and TPath records which help to access and change directories and files in a easy way. The path specified by the TEMP environment variable. DLL RegDLL $0 As for the aliases DLL, you'd need Delphi or Borland C++ Builder to build it. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. The path specified by the USERPROFILE environment variable. GetTempFileName with FileExt 20. If invalid characters are supplied in the fileName /// parameter they are removed /// Description. 2007 /Question/Abstract: I am trying to find a function that will generate a temporary filename. Или я не прав . In Delphi 10. Do not declare variables of type TPath, since TPath has no instance methods or fields. GetTempPath. ShlObj; function GetUserAppDataPath: string; var ThisPath: PWideChar; begin if Winapi. Path GetTempFileName is creating the temporary file ? I don't know if I can call CreateFile again ? And how can I pass the resulting handle to a THandleStream object so that I can still use SAveToStream() ? For the handle you were right. GetTempFileName actually creates a zero-sized file in a temporary location and returns its Why does GetTempFileName function create new empty file ? It's in the GetTempFileName function description (emphasized by me): Creates a name for a temporary The GetTempFileName asks the Operating System to generate an empty unique temporary file that you can use as temporary storage. GetTempFileName(); this code create a temp file in the Temp folder, System. GetTempFileName()); produces: C:\Users\will\AppData\Local\Temp\tmp9BD5. The obvious (and buggy) solution is to call C# : Path. The following table lists the parameters expected by this method: In addition to the other good answers, you should not be storing your temp folder in C:\TEMP. #6, 11. What if you specifically want it to have a different extension? For the sake of this example, lets say that I needed a file ending with . g. I want to be able to generate a unique filename prefix (unique for all current requests at a given moment), and figure that the best way to do this would be to use processID (to handle CGI mode) as well as threadID (to handle dll mode). A temporary file must be deleted when TempFileStream's object is no longer needed, e. Description. After ForceDirectories statement, Delphi exits the procedure. Usually, the returned path is C:\Documents and Settings\[userid]\Local Settings\Temp but in this case, it was C:\Temp. It does not keep the file open, though. Microsoft MSDN Links: System. GetDirectories() is working correctly, and using TFile. Windows 10 is В Delphi это можно сделать с помощью функции GetTempFileName, которая создает временный файл и возвращает его имя. TPath is a record containing only static methods used to perform various operations on paths. Now I'm porting it to Delphi XE8, with the latest IntraWeb library XIV. The caller must delete it after no longer use the file. 09. GetTempFileName(); // Write the contents of stream to a file with FileName return FileName; } Then, I have another method that accepts a file path for later deletion which is a member of my 'parsing' class, although you could put it in its own static helper class: Delphi Instagram and Twitter Client, Analytics, and Misc library code - MCH_Delphi_Software/Common/MemDB/MemDBApi. TPath. GetTempFileName()) to get only the temp folder information, and create your folders in there. GetTempFileName(). – IceCold. file name with 'tmp'-prefix} GetTempFileName(@TempPath, 'tmp', 0, @TempFileName); {change the extension to . Internal Cache. The file will have been created, so you can then overwrite it The GetTempFileName method will raise an IOException if it is used to create more than 65535 files without deleting previous temporary files. NET Framework defines a System. HasValidFileNameChars. But you're still not allowed more than 65535 files, and you're only deleting the renamed variation and not the original (though that can be changed easily in your lambda). The ugly code listed above intents The . The following procedure describes how an application Delphi 12 Athens #1. GetTempFileName - will that generate a unique name? How can I create a random 64-bit integer value in Delphi 2006? The built-in integer-based Random() function seems to return only values between 0 and 2^31. Extracts and returns the name and extension parts of a file name specified in FileName. This limits GetTempFileName to a maximum of 65,535 I'm developing a program that needs to parse the file name into a TTextField. GetTempFileName replies "The directory name is invalid" 1. Programming tips, downloads, forums, news, topsites, newsletter Use GetTempFileName to Create a Unique Temporary File? Autor: Thomas Stutz [ Print tip] Tip Rating (23): function GetTempFile(const Extension: string): string; var Buffer: Delphi knowledge base! More than 2000 Delphi articles. : FName := IWFile1. Software for developers Delphi Components. Path. I can't access the file when moving the ShellExecute method after the SaveToStream method ! When Code Review: GetTempFileName in C# Creating the file means that file name is reserved. Get Temp File Name and Метод TPath. Modified 5 years, 7 months ago. GetDirectoryRoot does not handle correctly paths of Max_Path characters. Call GetRandomFileName to generate a new random file name. 0. Windows (and most other operating systems, even MS DOS) reserves a special directory for this purpose and helpfully provides API methods for getting this directory (or you could just use the %TEMP% environment variable but while that is convenient for batch files, it Description. The fileapi. As for THandleStream, you can pass the opened file handle to its constructor, it has a Using GetTempFileName, we can create a unique name for temporary file. To resolve this error, delete all unneeded temporary files. GetTempFileName ausführen. TDirectory. With this code I get an AV: uses Winapi. 5 table, and the attachment field type is Binary Blob. bmp} System. The GetTempFileName will generate the temp. zero entries). What is its equivalent for metro GetTempFileName user_var(output) base_dir Assign to the user variable $x, the name of a temporary file. How can I use Delphi to test if a Directory is writeable? Ask Question Asked 14 years, 4 months ago. Ниже представлены основные методы, свойства и поля класса Path, используемые для работы с путями в C#. Bei ERROR_ALREADY_EXISTS einfach nochmal TPath. This directory is a system-managed location; files saved here may be deleted between application sessions or system restarts. Unlike C:\TEMP, this location (which varies by operating system) will work on all operating systems, and all levels of user access control. SHGetFolderPath(0, CSIDL_APPDATA Embarcadero’s users understand the scalability and stability of C++ and Delphi programming, and depend on the decades of innovation those languages bring to development. Mär 2006, 13:02. Net Unix Manual Pages Delphi Examples Description: The GetTempFileName asks the Operating System to generate an empty unique temporary file that you can use as temporary storage. " (és nem azt, hogy nem létezik), akkor a GetTempFileName apropóján kiüríteném a temp könyvtárat (mert ez a hívás teljes útvonallal készít egy tempfájlt a user saját temp könyvtárában, szóval ahova a %tmp% vagy %temp% környezeti változók mutatnak, tipikusan To make it work as in D7, replace "string" with "AnsiString" and "Char" with "AnsiChar". Here is my version using GetTempFileName which will attempt to create a unique temp file in the target directory: function IsDirecoryWriteable(const AName: string): Boolean; var TempFileName: All about Borland Delphi. Wenn du hier direkt CreateDirectory mit ERROR_ALREADY_EXISTS verwendest (nach einem DeleteFile) dann kannst die Konfliktprüfung des TPath. Delphi Knowledge Base More than 2000+ Delphi articles. GetTempFileName(); This will create a file with a . The returned string is the full path and file name of the System. The GetTempFileName method will raise an IOException if no unique temporary file name is available. – DelphiCoder. dll" Alias "mciSendStringA" _ (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal Path. Only the lower 16 bits of the uUnique parameter are used. s3-us-west-2. This code doesn't make sense: // Prepare variables string path = Path. class function GetTempFileName(const Prefix: string = ‘tmp’): TFileName; static; GetTempFileName to have a Prefix parameter. I have Process Monitor running and it shows something like Access Violation when writing to the original file for the second time; and I can see the different tmp files as they are generated. The GetTempPath function checks for the existence of environment variables in the following order and uses the first path found:. GetTempFileName from unit System. GetTempFileName returns the name of a temporary file in directory Dir. GetTempPath() My company application was designed for Windows 2008 with . It's written to return an actual file to avoid the race conditions associated with older temp filename methods from the past (notably tmpnam in the C standard library, for example. ForceDirectories fails to create folders in MacOS Application Support. Under Vista when you call GetTempFilePath files get created in: C:\Users\User\AppData\Local\Temp\ Does anyone know where they get created under XP? Note: This should probably be a comment, but I need the additional space. GetGUIDFileName only generates a file name and does not create a real file. file name with 'tmp'-prefix} GetTempFileName(@TempPath, 'tmp', 0, Description: The GetTempPath returns the path of the directory that can be used to hold a temporary file on the current platform/machine. Create)) 为什么GetTempFileName函数会创建新的空文件? 这是在GetTempFileName函数描述中(由我强调): 创建一个临时文件的名称。 如果生成唯一的文件名,则创建一个空文件并释放其句柄;否则,只生成文件名。. Commented Sep 22, 2014 at 15:39. 3. You can use System. Story Category: GetTempFileName. I can't access the file when moving the ShellExecute method after the SaveToStream method ! When TPath. 为在一个工程中启动FileUtil,只需要将LazUtils添加到所需要的软件包中。按照这个步骤: 1- 转到Lazarus IDE 菜单 Кpаткий спpавочник для пpогpаммистов, котоpым тpебуется конкpетная инфоpмация по той или иной возможности интеpфейса API. 如何在使用GetTempFileName函数时避免创建新文件? In Delphi 10 Seattle, with JVCL 3. Install shield provides an alias [CommonAppDataFolder] that will resolve to c:\\programData on Vista and Window The GetTempFileName method will raise an IOException if it is used to create more than 65535 files without deleting previous temporary files. amazonaw ПРАВИЛА РАЗДЕЛА · FAQ раздела Delphi · Книги по Delphi. Returns the path to a directory to store temporary files. GetTempFileName entsprechend fortsetzen. I know that there is the GetTempFilename function, but I don't have any examples on how to use it. 07, 12:20. Private Declare Function mciSendString Lib "winmm. File. " (és nem azt, hogy nem létezik), akkor a GetTempFileName apropóján kiüríteném a temp könyvtárat (mert ez a hívás teljes útvonallal készít egy tempfájlt a user saját temp könyvtárában, szóval ahova a %tmp% vagy %temp% környezeti változók mutatnak, tipikusan How can I use Delphi to test if a Directory is writeable? Ask Question Asked 14 years, 4 months ago. Checks whether a given file name has an extension part. What I can't figure out is how to read the data out, given that I'm retrieving my DB Wenn du hier direkt CreateDirectory mit ERROR_ALREADY_EXISTS verwendest (nach einem DeleteFile) dann kannst die Konfliktprüfung des TPath. 4, I was able to get a listing of files in an Android device's shared storage. See Also GetTempFileName is creating the temporary file ? I don't know if I can call CreateFile again ? And how can I pass the resulting handle to a THandleStream object so that I can still use SAveToStream() ? For the handle you were right. The URL is in this form:- https://xxxxxxx. //So for a real app, in Delphi < XE7, you would have to check OnTerminate in the app //and delete pending files. Path Description: The GetTempFileName asks the Operating System to generate an empty unique temporary file that you can use as temporary storage. Depending on the user that is running the application you should either. 如何使用单元. MAX_PATH - 1] of Char; 4 TempPath: array[0. I've been using it like e. VOTE. System. Net Components Software for Android Developers More information resources MegaDetailed. In fact, a zero -size file is created in the temporary directory and returned to its name. GetTempFileName -- Directory name is invalidTo Access My Live Chat Page, On Google, Search for "hows tech developer connect"I promised to share a h GetTempPath (); //GetTempFileName does not allow us to specify the "xltx" extension. In this article. Use the value returned from GetTempFilename, instead. The path specified by the TMP environment variable. Exists() with a filename which I know to be present returns My app needs to install some files that can be edited by the application at run time. When the device is low on internal storage space, Android may delete these cache files to My IDE is Delphi 10. GetDirectoryName(System. This limits GetTempFileName to a maximum of 65,535 string fileName = System. Функция GetTempFileName имеет следующий синтаксис: Description. GetTempFileName() method. Anyway, thank you all for the suggestions and I think I will chalk this up as '[RESOLVED]' as it is only occurring after about the 6th edit Description. Description: The GetTempPath returns the path of the directory that can be used to hold a temporary file on the current platform/machine. GetTempFilename() creates an actual file on disk; depending on what you're doing once you have that filename you could be triggering something. ) When I call Path. ShlObj. However, in the company I work, using the C: drive for files is not prohibited. RuSA: Сообщ. VCL components; Database/SQL; Reports, printing; {for example, create a temp. Returns the path to the system temporary directory. Call GetTempFileName to generate a new uniquely-named temporary file. See Also Code Review: GetTempFileName in C# Creating the file means that file name is reserved. VOTES. You can use GetTempFileName to let the Operating System generate an empty unique temporary file that you can use as temporary storage. GetTempFileName() System. Answer: Solve 1: 1 procedure TForm1. amazonaw Description. Seems that the TIWFile control from the last version of IntraWeb is missing the TIWFile. Filename property. Add “Safety Belt” file name creation /// /// Returns file name which is valid. If this is happening to you on a production environment or with an app that you can't change, the quick fix is to empty the Temp folder. Both of which I don't have. GetTempFileName -- Directory name is invalidTo Access My Live Chat Page, On Google, Search for "hows tech developer connect"I promised to share a h Description. GetFiles() is returning an empty list (ie. Also, call GetTempPathA and GetTempFileNameA rather than GetTempPath and GetTempFileName. Path Description. GetTempPath(); // Write the file to the temp folder using (FileStream fs = new FileStream(path, FileMode. IO System. Making TJvAppDBStorage work with FireDAC/Firebird. IO. As far as I can tell though, although extremely unlikely, this filename could be identical to the name of a directory at the same path, meaning that I can't assume that by taking the name of that file, deleting it, and creating a If uUnique is zero, GetTempFileName creates an empty file and closes it. Its behaviour differs from both Windows GetTempFileName version and Delphi realization on all OSs which return random values. GetFileName extracts the name and extension parts of the file name given in FileName. Corrected now. Yes, I checked and they are all different. MAX_PATH - 1] of Char; 5 begin 6 Description: The GetTempPath returns the path of the directory that can be used to hold a temporary file on the current platform/machine. file in this folder The GetTempFileName will generate the temp. Verifying the System. This limits GetTempFileName to a maximum of 65,535 Author: Jonas Bilinkevicius I am trying to find a function that will generate a temporary filename. Generate a new unique temporary file. Path Home Delphi and C++Builder tips #100: How can I retrieve a temporary path from MS Windows? Delphi/C++Builder. HasExtension. Path GetTempFileName returns filenames sequentially based on files existence. I have a delphi (Win32) web application that can run either as a CGI app, ISAPI or Apache DLL. Ninety of the Fortune 100 and an active I am working on saving files to sql blob to a varbinary(max) column, and have got the save side of things working now (I believe). h header defines GetTempPath2 as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Only a file name is created, because GetTempFileName is not able to guarantee that the file name is unique. paul. Empty C:\Windows\Temp (for IIS or services running under LocalSystem account); Or %temp% for locally logged on users (which for me is C# : Path. Rather, a login scrips points the user's "my documents" and "home" area (decouemtn and settings etc) are pointed to a networked "H Best practices on internal and external temporary files:. Currently, I use Path. 1. – 万一的 Delphi 博客 记录学习 WinAPI: GetTempFileName - 生成一个临时文件名 //声明: GetTempFileName( lpPathName: PChar; {路径} lpPrefixString: PChar; {前缀} uUnique: UINT; {指定生成文件名的数字, 文件名将根据参数2、参数3来生成} Description: The GetTempFileName asks the Operating System to generate an empty unique temporary file that you can use as temporary storage. 生成一个新的唯一命名的临时文件。实际上在临时目录创建了一个零大小的文件并返回其名称。调用者必须在不再使用该文件后将其删除。 Sometimes you need to temporarily create a file or even a directory to put some files into. TPath. The Embarcadero Edition of the Appercept AWS SDK for Delphi provides essential AWS features and [] Ribbon Classic Controls. GetTempFileName (which wraps the WinAPI GetTempFileName) My application as a Win32 Delphi desktop application but since Windows is the source of the error, I assume this information to be of limited usefulness. No they do not get deleted automatically. If Dir is empty, the value returned by GetTempDir is used, and if Prefix is empty, 'TMP' is used. IOUtils. Generates a new random file name. If you'd like to cache some data, rather than store it persistently, you should use getCacheDir() to open a File that represents the internal directory where your application should save temporary cache files. GetTempFileName, обертка над WinAPI функцией GetTempFileName, возвращает ошибку "Недопустимое имя каталога", когда вызывается из приложения, запущенного пользователем, который вошел в систему, используя учетную запись домена. Since Azure does not allow Say I want to define a TempFileStream class that creates a temporary file using Path. The name of the file starts with Prefix. TFileStream behaves very strange. Operations that can be completed using TPath include: . Path Description: The GetTempPath returns the path of the directory that can be used to hold a temporary file on the current platform/machine. GetTempFileName replies "The directory name is invalid" 5. To generate a real uniquely-named temporary file, use the GetTempFileName method. As far as I can tell though, although extremely unlikely, this filename could be identical to the name of a directory at the same path, meaning that I can't assume that by taking the name of that file, deleting it, and creating a Description. Copy(sv, tempFile, true); this code override old file from temp file, nextly setting low quality and encoding, finally System. NET 4. Generates a new GUID that can be used as a unique file name. 0. Path GetTempFileName then creates a file by that name and closes it. Button1Click(Sender: TObject); 2 var 3 TempFile: array[0. Verifying the correctness of a path or a file name System. WriteLine(Path. I need a way of making my music loop here is the code I'm using it was provided to me by . – Tim Schmelter. If a unique file name is desired, use GetGUIDFileName method instead. The file is to be deleted immediately after all of its handles are closed, which includes the specified handle and any other open or duplicated handles. 生成一个新的唯一命名的临时文件。实际上在临时目录创建了一个零大小的文件并返回其名称。调用者必须在不再使用该文件后将其删除。 万一的 Delphi 博客 记录学习 WinAPI: GetTempFileName - 生成一个临时文件名 //声明: GetTempFileName( lpPathName: PChar; {路径} lpPrefixString: PChar; {前缀} uUnique: UINT; {指定生成文件名的数字, 文件名将根据参数2、参数3来生成} Description: The GetTempFileName asks the Operating System to generate an empty unique temporary file that you can use as temporary storage. 3 If you examine my edited question, string tempFile = Path. 48, TPath. Under “Build > Delphi Compiler > Unit scope names”, add in “VCL”, choose Add and The GetTempFileName-file has 0 bytes and there is no additional naming conflict. public static string Write(Stream stream) { string FileName = Path. With Delphi 2009 and later, SizeOf(Char) = SizeOf(WideChar) = 2, so the code was asking GetTempPath() to fill the buffer with more characters than it could hold. А причём тут GetTempFileName Функция GetTempFileName генерирует имя для временного файла. 2. Filename; // where IWFile1 1 is a TIWFile control 所遇问题 新建的算量工程文件暂时保存到临时文件中,代码中调用了Win32 API——GetTempFileName 但在一台笔记本上,函数返回了一个空字符串! 为了查明原因想到了好用的GetLastError——返回错误信息。 结果错误 Description. The resulting string consists of the characters of FileName, starting with the first character after the colon or backslash that separates the path information from the file name Ha tényleg azt mondja, hogy "System. I have a Firebird 2. The . Contains a large number of static utility methods used in path manipulations. Programming tips, downloads, forums, news, topsites, newsletter Use GetTempFileName to Create a Unique Temporary File? Autor: Thomas Stutz [ Print tip] Tip Rating (23): function GetTempFile(const Extension: string): string; var Buffer: Will Path. Lots of procedures Use for solving of this problem GetTempFileName function. pas at master · MartinCHarvey/MCH_Delphi_Software. How to remove the file extension I've already know(or think that I can do like this): var FName: String; FPath: St string fileName = System. TR5. GetTempFileName. As I see, Win32 API GetTempFileName is marked for use on desktop only. Can I open this stored file (image, word, excel, pdf, txt, You can save it as a temporary file using TPath. This is a set of VCL Controls that match the MS If uUnique is zero, GetTempFileName creates an empty file and closes it. GetTempFileName(), the temp file generated is something like: C:\Users\allensamuel\AppData\Local\Temp\tmpC1D0. IOException: A fájl létezik. W10 + Delphi Seattle, TFileOpenDialog + fdoForcePreviewPaneOn = crash on some images. tmp. The obvious (and buggy) solution is to call GetTempFileName $0 File /oname=$0 C:\Path\To\Extracted\BDEINST. Ninety of the Fortune 100 and an active В win32 в своих проектах на Delphi я частенько использую такие функции: Код: Выделить Function GetTempFileName(Const Dir,Prefix : String) : String; Function GetTempFileName : String; { For windows compatibility } Note. I assume this is calling a windows api function under the covers, in which case the null terminator will eventually need to be there. Creates a uniquely named, zero-byte temporary file on disk and returns the full path of that file. The returned string is the full path and file name of the temporary file. GetTempPath() to figure out where to write my log files, but recently I came across a user's machine where the path returned was not what I expected. GetTempPath (); //GetTempFileName does not allow us to specify the "xltx" extension. Combine (FilePath, TGuid. Поле Alt Directory Separator Char — дополнительный символ, задаваемый платформой, для I have a very old program made in Delphi 7, using IntraWeb 80. When uUnique is nonzero, no attempt is made to create and open the file. The ugly code listed above intents If uUnique is zero, GetTempFileName creates an empty file and closes it. tmp for me on this machine, because the TEMP environment variable is pointing to C:\Users\will\AppData\Local\Temp\ But the whole point of a method like GetTempFileName is that you shouldn't have to care where the file ends up. What if I need two temp files without creating them? Or two threads decide to get a temp filename simultaneously? New Delphi versions provide TDirectory, TFile and TPath records which help to access and change directories and files in a easy way. The GetTempFileName function generates a unique file name, and the GetTempPath2 function retrieves the path to a directory where temporary files should be created. function GetTempFileName(DriveLetter: Char; PrefixString: PChar; Unique: Word; TempFileName: PChar): Integer; Считывает уникальное имя вpеменного файла, именем маpшpута для котоpого является либо коpневой каталог или имя, опpеделенное пеpеменной сpеды TEMP. Lots of procedures and functions available to use. . mjdfh gagyt hetjgqe kmrne jwucblhx pvbwh uoqtcy xcl gnswrz gikcj