|
by: Venkat |
last post by:
Hi All,
Currently i guess rename and remove are not supported using fstream.
How do i rename or remove a file?
regards,
Venkat
|
by: dudufigueiredo |
last post by:
I have one folder containing mp3 files, the folder is:
C:\My Shared Folder\Rubber Soul
And the files are:
01 drive my car.mp3
02 norwegian wood.mp3
03 you won't see me.mp3
04 nowhere man.mp3
..
..
|
by: jez123456 |
last post by:
Hi, I’ve written a c# program to compact certain msaccess databases. The way
this works is to compact say C:\test1.mdb to C:\temp.mdb, then delete
C:\test1.mdb and rename C:\temp.mdb as C:\test1.mdb.
My problem occurs if there is already a C:\temp.mdb file. I don’t want to
just delete this, as it could have been created separately by a user.
In my code, I set a constant as follows:
private const string tempMdb = @"C:\temp.mdb";
|
by: Jay at SCA |
last post by:
I've been having the following issue with a windows
service I've created in vb.net (.net fw 1.1):
Basically, my service monitors a folder for the creation
of any new files of a particular type and renames them
using the "Rename(oldfilename,newfilename)" function.
Unfortunately, this function only seems to work if and
only if it is preceeded by a 'msgbox("<some text>")'.
ie. If I have the following the service sees the file
|
by: VB Programmer |
last post by:
My web hoster says that I have to rename my ASPNETDB.MDF SqlExpress db for
my 2.0 site to work. Is this accurate?
If so, how can I rename it without breaking anything on my site?
FYI: This is the error I'm getting after I publish my site to their
servers...
An attempt to attach an auto-named database for file
c:\hosting\myhost\member\myaccount\customerdomains\mysite\App_Data\ASPNETDB.MDF
failed. A database with the same name exists,...
|
|
by: mantrid |
last post by:
Im trying to move a file but am having luck
my code is below. The temp and target paths are valid as they echo
correctly. but I cant get the copy() function to work, or the rename()
function
$target_path = $targetdir . basename($uploadedfile);
$temp_path = $tempdir. basename($uploadedfile);
echo "Target - ".$target_path." Temp - ".$temp_path."<br>";
|
by: jonathan184 |
last post by:
trying to rename filenames and extensions then add a header in line1 of each file
if the header existed in line 1 to go to the next file.
but i am getting error explciti errors
Here is my code I am using
#!/usr/bin/perl
user warnings;
|
by: rn5a |
last post by:
An inquisitive question......
A ListBox lists all the directories & files residing in a directory on
the server. Assume that the ListBox lists 2 directories & 4 files. Also
assume that one of the directories is named 'mydir' (without the
quotes). Note that the all the letters in the directory name are in
lowercase.
To rename any directory/file, one can use the Move method of the
Directory/File class respectively but ASP.NET doesn't...
|
by: jack |
last post by:
Hi,
I have more than 1000 photos in my system but with very untidy name.
Im trying to create a program through which i can rename the file.
I have seen the examples on net an forums, but the only solution seems
to be with moving the file with different name.
I don't want to move the file but just want to rename it..
|
by: achotto |
last post by:
hi, i try to upload a multiple image files. after that i will rename the files name.
the problem is when i upload a 2 or more same files name exp-goal.jpg, it will return "files already exist". ok this is my codes,
Set Upload = Server.CreateObject("Persits.Upload.1")
Count = Upload.Save("d:\cmsupload\cimg\")
for each File in upload.Files
'
'...sme operation here..
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|