Questions tagged [file-location]
94 questions
-1
votes
2 answers
How can i get the location of a textfile
I need to get the location of a certain textfile before i user it with sytem.IO methods. I am trying to get an application working on all computer but when i switch between computers it seems to change my D: drive memory pen to and F: drive so the…

Adam Higgins
- 705
- 1
- 10
- 25
-1
votes
1 answer
Create file on a rails migration
I'm trying to generate default images on my database directly on a migration from images included in my rails app (assets/images).
Before this kind of migration, I tap my command directly on the terminal.
I would like something like that :…

brcebn
- 1,571
- 1
- 23
- 46
-2
votes
1 answer
Move file to different folder location
Im trying to create a PowerShell script that moves a list of files into another folder, depending on the file name. One example of the file name 'Test-AMM - Report'.
Original Location
\\oltnas6uk\sd.test.com$\PROJECTS\Account Management\Test-AMM -…

dcraven
- 139
- 4
- 16
-2
votes
2 answers
How to find file where function is defined from Python command line
Let's say I want to explore import statements in Python. How, from the Python command line, can I find the file in which import is defined? Note I am working in Python 2.7.6 (iPython) in Windows 7.
For most objects, just entering the object name is…

eric
- 7,142
- 12
- 72
- 138