<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; VBS: путь до папки]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5117&amp;type=atom" />
	<updated>2010-11-03T11:40:02Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5117</id>
		<entry>
			<title type="html"><![CDATA[Re: VBS: путь до папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=41193#p41193" />
			<content type="html"><![CDATA[<p>Я неправильно сформулировал вопрос. Мне нужно, чтобы файлы копировались не с текущего пользователя, а статичного. Н-р, у меня это:<br />C:\Documents and Settings\student.CC\Application Data\1C\1Cv81<br />а скопировать надо уже в папку текущего пользователя.<br />С текущим пользователем я разобрался, а со статичным не выходит <img src="//forum.script-coding.com/img/smilies/sad.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Monstrix]]></name>
			</author>
			<updated>2010-11-03T11:40:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=41193#p41193</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: путь до папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=41191#p41191" />
			<content type="html"><![CDATA[<p><a href="http://ru.wikipedia.org/wiki/%D0%9F%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D0%B5_%D1%81%D1%80%D0%B5%D0%B4%D1%8B">Переменные среды</a></p><p><a href="http://en.wikipedia.org/wiki/Environment_variable#Default_Values_on_Microsoft_Windows">Link</a></p>]]></content>
			<author>
				<name><![CDATA[armenxxx1]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26102</uri>
			</author>
			<updated>2010-11-03T11:15:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=41191#p41191</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: путь до папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=41181#p41181" />
			<content type="html"><![CDATA[<p>Ещё 1 вопросик <img src="//forum.script-coding.com/img/smilies/sad.png" width="15" height="15" /><br />Как сделать, чтобы он копировал не с диска С, а чуть поглубже, н-р: C:\Documents and Settings\статичный пользователь\*.txt</p>]]></content>
			<author>
				<name><![CDATA[Monstrix]]></name>
			</author>
			<updated>2010-11-03T09:16:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=41181#p41181</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: путь до папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=41173#p41173" />
			<content type="html"><![CDATA[<p>Всем огромное спасибо ещё раз! <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Monstrix]]></name>
			</author>
			<updated>2010-11-03T07:51:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=41173#p41173</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: путь до папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=41131#p41131" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Set WSHshell = WScript.CreateObject(&quot;WScript.Shell&quot;)
wshShell.run(&quot;cmd /c COPY %HOMEDRIVE%\*.txt &quot;&quot;%HOMEDRIVE%\%HOMEPATH%\*.txt&quot;&quot;&quot;),0</code></pre></div>]]></content>
			<author>
				<name><![CDATA[armenxxx1]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26102</uri>
			</author>
			<updated>2010-11-01T20:00:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=41131#p41131</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: путь до папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=41128#p41128" />
			<content type="html"><![CDATA[<p><a href="http://www.script-coding.com/WSH/WshShell.html#2.3.">SpecialFolders</a> или <a href="http://www.script-coding.com/WSH/Shell.html#3.8.">NameSpace</a> + <a href="http://forum.script-coding.com/viewtopic.php?id=3768">WSH: Перечень предопределённых символьных имён Shell.Application</a>. На крайний случай есть ещё <a href="http://www.script-coding.com/WSH/WshShell.html#3.1.">ExpandEnvironmentStrings</a>.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2010-11-01T15:58:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=41128#p41128</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[VBS: путь до папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=41125#p41125" />
			<content type="html"><![CDATA[<p>Всем доброе время суток. Помогите пожалуйста с написанием скрипта, который копирует файл из одной папки в другую. Сложность заключается в том, что надо копировать в папку исходя из текущего пользователя. Например: из C:\*.txt в C:\Documents and Settings\Текущий пользователь\*.txt</p><p>Заранее спасибо!</p>]]></content>
			<author>
				<name><![CDATA[Monstrix]]></name>
			</author>
			<updated>2010-11-01T14:02:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=41125#p41125</id>
		</entry>
</feed>
