Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
dir
- Page 1
Re: How do I establish an open connection to an open web browser in C#?
Programming
Software Development
2 Months Ago
by pathofbuilding
… enabled using chrome.exe --remote-debugging-port=9222 --user-data-
dir
="C:\SeleniumChromeProfile", then use ChromeOptions options = new ChromeOptions…
Re: dir
Programming
Software Development
11 Years Ago
by G_Waddell
… &"\" end if FullFileName = Path & filename if
Dir
(FullFileName) <> "" Then 'file Exists - assuming you… wish to not overwrite: While
Dir
(FullFileName) <> "" 'Keep incresing indx and adding…
dir
Programming
Software Development
11 Years Ago
by LeNenne
I have a
dir
list box db.Close 'Kill (App.Path & "\PhoneTel.…
Re: dir
Programming
Software Development
11 Years Ago
by LeNenne
Hi I got it like this (dir1.jpg) but I will have it like (
dir
.jpg) when they are going to catch the backup files instead.
Dir /s command using opendir function
Programming
Software Development
14 Years Ago
by gameon
…files Void list(const char *path) {
DIR
*d,*d1; struct dirent *
dir
; chdir(path); d=opendir(".");… if(d) while((
dir
=readdir(d))) if(!strcmp(".",
dir
->d_name)) continue; if(!strcmp…{ printf("%s\n",
dir
->d_name); d1=opendir(
dir
->d_name); if(d1) { list(
dir
->d_name); } } closedir(d…
Dir creating, permissions setting issue!
Programming
Software Development
16 Years Ago
by BigFormat
…dirs (one for each user), taking the
dir
name from a given string. I managed to… do this with the following code: [CODE=C]
DIR
*dir_ptr; char *target_dir; target_dir = malloc(32*sizeof…(target_dir, username); strcat(target_dir, "/"); /* check for
DIR
existence, if not, create */ if((dir_ptr = opendir(target_dir)) …
dir.h
Programming
Software Development
17 Years Ago
by Masood Ali
Hi, I am debugging a C++ application. when I compile it, the compiler gives an error [code]fatal error C1083: Cannot open include file: '
dir
.h': No such file or directory [/code] I have seached for the file
dir
.h, but I could not find it. Please help.
dir question
Programming
Software Development
15 Years Ago
by lima01
…: with this command with only one backslash after C:( system(
dir
C:\ /s/b/a-d> C.txt)) it only… I enter this command with two backslashs after C:(system(
dir
C:\\ /s/b/a-d> C.txt)) it lists…
Re: dir question
Programming
Software Development
15 Years Ago
by dusktreader
…: with this command with only one backslash after C:( system(
dir
C:\ /s/b/a-d> C.txt)) it only… I enter this command with two backslashs after C:(system(
dir
C:\\ /s/b/a-d> C.txt)) it lists…
Re: dir question
Programming
Software Development
15 Years Ago
by lima01
… same.[/QUOTE] Tnx for reply, see this: strcpy(windows,"
dir
:\/s/b/a-d> .txt"); windows[4]=C… c++ project, not files in the C:, same as: system(
dir
C:\/s/b/a-d>C.txt) would do…
Re: dir question
Programming
Software Development
15 Years Ago
by WaltP
… need the \ character at all. Just this: [icode]system("
dir
c: /s > c.txt");[/icode][/QUOTE] Yes you… from the location of the .exe file. [icode]system("
dir
c:\\ /s > c.txt");[/icode] will start listing…
Re: dir.h
Programming
Software Development
17 Years Ago
by Salem
Because
dir
.h is a fossil DOS header file, and your compiler is something more modern perhaps. You should be using [URL="http://msdn2.microsoft.com/en-us/library/Aa364418.aspx"]this API[/URL] and related functions for getting directory information in a win32 environment.
Re: dir question
Programming
Software Development
15 Years Ago
by WaltP
Is [ICODE]strcpy(windows,"
dir
:\/s/b/a-d> .txt");[/ICODE] part of your C++ source code? What have we said about [B]\[/B] in C++ [I]source code[/I]? [B]\\[/B] in C++ Source code is a [I]single[/I] character -- a single [B]\[/B].
Re: dir question
Programming
Software Development
15 Years Ago
by Ancient Dragon
If you want a list of all the files on your he you don't need the \ character at all. Just this: [icode]system("
dir
c: /s > c.txt");[/icode]
Re: dir question
Programming
Software Development
15 Years Ago
by Ancient Dragon
… from the location of the .exe file. [icode]system("
dir
c:\\ /s > c.txt");[/icode] will start listing…
Re: dir question
Programming
Software Development
15 Years Ago
by Ancient Dragon
… from the keyboard. [code] // open the file created by the
dir
command ifstream in("i.txt"); std::string // read…
Re: dir
Programming
Software Development
11 Years Ago
by G_Waddell
Hi, You should check that Dir1.path is not equal to the App.path, are you having an issue with the code?
Re: dir
Programming
Software Development
11 Years Ago
by LeNenne
Problem with the code I have been trying evry way. Can you help me Please Dim mypath As String Dir1 = "c:\TelbokEmailRecive & backup" mypath = Dir1 File2.Path = mypath
Re: dir
Programming
Software Development
11 Years Ago
by Minimalist
You have all done this before 7 moths ago http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/454451/counting-backup-files#post1973491
Re: dir
Programming
Software Development
11 Years Ago
by LeNenne
Not to save the file have I already done automatic. As what I will is that when the user press button ( Getbackup) the file list box should just point to app.path\backup or go to app.path\backup\backup and there select the file they will use. Nothing else should bee visible Just this 2 directories
javascript image dir change
Programming
Web Development
16 Years Ago
by moestavern
…imgDn3 : ypImage("scrollDn3.gif"),
dir
:0,lastTime:0,aniTimer:0,dragActive:0…0 Scroller.startScroll = function(
dir
) { if (this.aniTimer) window.clearTimeout(this.aniTimer) this.
dir
=
dir
this.lastTime = (new … - this.lastTime var ny = eval(this.scrollTop + this.
dir
+ (elapsed * this.speed / 1000)) this.lastTime =…
delete files from dir's and delete dir's
Programming
Web Development
13 Years Ago
by johndohmen1963
….'/'); rmdir($dir1.$file) or DIE("couldn't delete $
dir
$file<br />"); } else unlink($dir1.$file…) or DIE("couldn't delete $
dir
$file<br/>"); line 1058 rmdir($dir1); } }…
Problem with Dir() in VB6.0
Programming
Software Development
18 Years Ago
by ramesh.E
…. here is how my looks like [code] sDataFile =
Dir
$(sDataPath & sDataFile) ' first file Do While sDataFile …<> "" sDataFile =
Dir
$ 'next matching file Loop [/code] But this code retrieving …unmatched file. Is there any limitation on the
Dir
() cmd.. Ex: There are files like abc2 03…
Re: Change read-only status of a file/dir
Programming
Software Development
15 Years Ago
by CreativeCoding
…this update [CODE]try { clear; char *
dir
; cout << "Enter folder location…quot;; cin >>
dir
;
dir
= new char [50]; char l_szCommand[50]; if (
dir
== 0) { clear; …}; sprintf(l_szCommand, "attrib +r %s",
dir
); system(l_szCommand); Sleep(5000); } catch (int e)…
difference between dir(__import__(module.method)) and dir(module.method)
Programming
Software Development
11 Years Ago
by krystosan
… doing check of the functions available in `os.path` using `
dir
(os.path)` is not the same as shown by… `
dir
(__import__("os.path", globals={}, locals={}, fromlist=[], level=-1))`, … difference how should I get the same result while using `
dir
(__import__("os.path"))` just as in…
Change read-only status of a file/dir
Programming
Software Development
15 Years Ago
by CreativeCoding
… that will allow the user to choose the
dir
/file and have the system set read-only …crashes on the system line. [CODE]try { clear; char*
dir
; cout << "Enter folder location > "…;; cin >>
dir
; char l_szCommand[50]; sprintf(l_szCommand, "attrib +r %s…
Troubles with DIR * and dirent- linux enviroment
Programming
Software Development
12 Years Ago
by Despairy
… that has to open a folder using
DIR
* `
DIR
* directory=openDir(...); // openDir is a function returning
DIR
* after it was opened` than to… previous code it works and i get into the loop
DIR
*dirr=openDir(path);// same openDir function from above while(ent…
Re: delete files from dir's and delete dir's
Programming
Web Development
13 Years Ago
by ddymacek
to suppress warning messages you can try to use @. [CODE] // line 46 @rmdir($dir2.$file) or DIE("couldn't delete $
dir
$file<br />"); [/CODE]
Re: Change read-only status of a file/dir
Programming
Software Development
15 Years Ago
by thomas_naveen
Try allocating memory to your
dir
variable. Similar to the command variable.
Re: Filter Dir and Files in Folder
Programming
Web Development
13 Years Ago
by MooGeek
… implement that like this: [CODE]<?php //Open images directory $
dir
= @ opendir("images"); //List files in images directory while… (($file = readdir($
dir
)) !== false) { if($file != "foo.txt") echo "filename…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC